Browse Source

Merge branch 'hotfix/sfml2-opengl-includes'

David Wimsey 11 years ago
parent
commit
9e1af325f4
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Samples/basic/sfml2/src/RenderInterfaceSFML.h

+ 1 - 3
Samples/basic/sfml2/src/RenderInterfaceSFML.h

@@ -42,9 +42,7 @@
 // if the OpenGL Extension Wrangler Library (GLEW) should not be used
 // if the OpenGL Extension Wrangler Library (GLEW) should not be used
 // include the standard OpenGL library
 // include the standard OpenGL library
 #ifndef ENABLE_GLEW
 #ifndef ENABLE_GLEW
-// NOTE: add this if you receive a lot of errors in gl.h
-//#include <windows.h>
-#include <GL/gl.h>
+#include "../../../shell/include/ShellOpenGL.h"
 #endif
 #endif
 
 
 class RocketSFMLRenderer : public Rocket::Core::RenderInterface
 class RocketSFMLRenderer : public Rocket::Core::RenderInterface