diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-10-20 23:06:56 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-10-20 23:06:56 +0200 |
commit | 688315ab76145a32d0aebf826fbbb7fc9ce24443 (patch) | |
tree | a7d4e37fae1517a2b2eaf09a78219583caf97aa3 /src/graphics/opengl/test/texture_test.cpp | |
parent | 728e7e405dd56afb4da03fd63df378d5f984ed73 (diff) | |
download | colobot-688315ab76145a32d0aebf826fbbb7fc9ce24443.tar.gz colobot-688315ab76145a32d0aebf826fbbb7fc9ce24443.tar.bz2 colobot-688315ab76145a32d0aebf826fbbb7fc9ce24443.zip |
ComputeSphereVisibility and fixes in CEngine TODOs
- view frustum culling with ComputeSphereVisibility - game should run
faster now
- resolved/removed most TODOs from CEngine
- fixed OpenGL tests
Diffstat (limited to 'src/graphics/opengl/test/texture_test.cpp')
-rw-r--r-- | src/graphics/opengl/test/texture_test.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/graphics/opengl/test/texture_test.cpp b/src/graphics/opengl/test/texture_test.cpp index 534a5c0..d771927 100644 --- a/src/graphics/opengl/test/texture_test.cpp +++ b/src/graphics/opengl/test/texture_test.cpp @@ -13,7 +13,6 @@ void Init(Gfx::CGLDevice *device) device->SetShadeModel(Gfx::SHADE_SMOOTH); device->SetRenderState(Gfx::RENDER_STATE_DEPTH_TEST, false); - device->SetRenderState(Gfx::RENDER_STATE_TEXTURING, true); device->SetTextureEnabled(0, true); device->SetTextureEnabled(1, true); |