Browse Source

Platform: don't include the GL headers in GlfwApplication header.

So it's possible to use it with custom GL extension loaders. This is
done for SDL2 already.
pull/249/head
Vladimír Vondruš 8 years ago
parent
commit
b8fe2fb6c3
  1. 3
      src/Magnum/Platform/GlfwApplication.h

3
src/Magnum/Platform/GlfwApplication.h

@ -41,10 +41,9 @@
#ifdef MAGNUM_TARGET_GL
#include "Magnum/GL/GL.h"
/* We must include our own GL headers first to avoid conflicts */
#include "Magnum/GL/OpenGL.h"
#endif
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
namespace Magnum { namespace Platform {

Loading…
Cancel
Save