Explorar el Código

Merge branch 'hotfix/sfml2-opengl-includes'

David Wimsey hace 11 años
padre
commit
9e1af325f4
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  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
 // include the standard OpenGL library
 #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
 
 class RocketSFMLRenderer : public Rocket::Core::RenderInterface