diff options
Diffstat (limited to 'src/graphics/opengl/test/transform_test.cpp')
-rw-r--r-- | src/graphics/opengl/test/transform_test.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/graphics/opengl/test/transform_test.cpp b/src/graphics/opengl/test/transform_test.cpp index 4decaa0..83819b8 100644 --- a/src/graphics/opengl/test/transform_test.cpp +++ b/src/graphics/opengl/test/transform_test.cpp @@ -38,7 +38,7 @@ void Init(Gfx::CGLDevice *device) device->SetRenderState(Gfx::RENDER_STATE_DEPTH_TEST, true); device->SetShadeModel(Gfx::SHADE_SMOOTH); } -#include <GL/gl.h> + void Render(Gfx::CGLDevice *device) { device->BeginScene(); @@ -71,8 +71,6 @@ void Render(Gfx::CGLDevice *device) Gfx::VertexCol line[2] = { Gfx::VertexCol() }; - glColor4f(1.0f, 1.0f, 1.0f, 1.0f); - for (int x = -40; x <= 40; ++x) { line[0].color = Gfx::Color(0.7f + x / 120.0f, 0.0f, 0.0f); |