aboutsummaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorcanni0 <canni0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-05 07:22:17 +0000
committercanni0 <canni0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-05-05 07:22:17 +0000
commit0b4921154485953384c026918d6615ed79a7da9d (patch)
tree832a9b1e1c857aa6b85ed327f9f92a1736e375df /src/base
parentf40c3b34bc54791a1313e4fc2047b08554c8c59d (diff)
downloadusdx-0b4921154485953384c026918d6615ed79a7da9d.tar.gz
usdx-0b4921154485953384c026918d6615ed79a7da9d.tar.xz
usdx-0b4921154485953384c026918d6615ed79a7da9d.zip
- workaround by tobydox for buggy Intel 3D driver on Linux through deactivating texture tiling applied to UGraphic (thx!)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2339 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/base/UGraphic.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/UGraphic.pas b/src/base/UGraphic.pas
index 92256f80..4f0c8c77 100644
--- a/src/base/UGraphic.pas
+++ b/src/base/UGraphic.pas
@@ -502,6 +502,8 @@ begin
{ center window }
SDL_putenv('SDL_VIDEO_WINDOW_POS=center');
+ { workaround for buggy Intel 3D driver on Linux }
+ SDL_putenv('texture_tiling=false');
//Log.BenchmarkStart(2);