Browse Source

This fix deals with selecting the right OpenGL headers based on operating system using the existing code in the shell library.

David Wimsey 11 years ago
parent
commit
c6feeac24b
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
 // 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