diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-08 13:29:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-08 13:29:42 +0300 |
commit | b8dbda756100d2ad6c01ddac0247296a74c28742 (patch) | |
tree | 025f4198f4ec831ca40b2cc3bef2113bffbdf6ff /src/graphicsmanager.cpp | |
parent | 3b343e2c62fd8035cd0be24f63aaea3fb203d73e (diff) | |
download | plus-b8dbda756100d2ad6c01ddac0247296a74c28742.tar.gz plus-b8dbda756100d2ad6c01ddac0247296a74c28742.tar.bz2 plus-b8dbda756100d2ad6c01ddac0247296a74c28742.tar.xz plus-b8dbda756100d2ad6c01ddac0247296a74c28742.zip |
Enable texture sampler by default only for Nvidia driver.
Because other extensions can not work with it at same time.
Bugs in Mesa...
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 0688540a7..7b56498dc 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -148,6 +148,7 @@ bool GraphicsManager::detectGraphics() { // hope it can work well logger->log("detected NVIDIA driver"); + config.setValue("useTextureSampler", true); mode = 1; } |