summaryrefslogtreecommitdiff
path: root/engine/xe_engine.cpp
diff options
context:
space:
mode:
authorTyler Murphy <tylermurphy534@gmail.com>2022-09-26 23:34:05 -0400
committerTyler Murphy <tylermurphy534@gmail.com>2022-09-26 23:34:05 -0400
commit63d8a67845b81ed72b5c6dec2a182f8327457811 (patch)
treea598b442cb07f2d4f5dad4a7644cc1241c1ad8fd /engine/xe_engine.cpp
parentwindow icon (diff)
downloadminecraftvulkan-63d8a67845b81ed72b5c6dec2a182f8327457811.tar.gz
minecraftvulkan-63d8a67845b81ed72b5c6dec2a182f8327457811.tar.bz2
minecraftvulkan-63d8a67845b81ed72b5c6dec2a182f8327457811.zip
disable anisotropic filtering on chunks
Diffstat (limited to 'engine/xe_engine.cpp')
-rw-r--r--engine/xe_engine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/xe_engine.cpp b/engine/xe_engine.cpp
index 56222a9..44e5a4e 100644
--- a/engine/xe_engine.cpp
+++ b/engine/xe_engine.cpp
@@ -46,8 +46,8 @@ std::shared_ptr<Model> Engine::loadModelFromData(std::vector<unsigned char> vert
return std::make_shared<Model>(xeDevice, builder);
}
-Image* Engine::loadImageFromFile(const std::string &filename) {
- return new Image(xeDevice, filename);
+Image* Engine::loadImageFromFile(const std::string &filename, bool anisotropic) {
+ return new Image(xeDevice, filename, anisotropic);
}
bool Engine::poll() {