From caf7f915d57f5cc4323f1b0f8ee82837fd616a56 Mon Sep 17 00:00:00 2001 From: laurentgom Date: Thu, 21 May 2009 08:48:01 +0000 Subject: [PATCH] fixed X11 sample git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1092 4e206d99-4929-0410-ac5d-dfc041789085 --- samples/X11/X11.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/samples/X11/X11.cpp b/samples/X11/X11.cpp index e8a537475..5582abe86 100644 --- a/samples/X11/X11.cpp +++ b/samples/X11/X11.cpp @@ -115,19 +115,6 @@ int main() if (!Disp) return EXIT_FAILURE; - // Setup OpenGL states - // Set color and depth clear value - glClearDepth(1.f); - glClearColor(0.f, 0.5f, 0.5f, 0.f); - - // Enable Z-buffer read and write - glEnable(GL_DEPTH_TEST); - glDepthMask(GL_TRUE); - - // Setup a perspective projection - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - gluPerspective(90.f, 1.f, 1.f, 500.f); // Get the default screen int Screen = DefaultScreen(Disp);