Fix MSVC builds after recent changes
This commit is contained in:
parent
d56251fdac
commit
24cb0e77eb
|
@ -27,6 +27,7 @@
|
||||||
* @brief implements generic openGL functions that are common to any openGL target
|
* @brief implements generic openGL functions that are common to any openGL target
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdexcept>
|
||||||
#include <gal/opengl/kiglew.h> // Must be included first
|
#include <gal/opengl/kiglew.h> // Must be included first
|
||||||
|
|
||||||
#include "openGL_includes.h"
|
#include "openGL_includes.h"
|
||||||
|
|
|
@ -37,6 +37,13 @@
|
||||||
#include <OpenGL/gl.h>
|
#include <OpenGL/gl.h>
|
||||||
#include <OpenGL/glu.h>
|
#include <OpenGL/glu.h>
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
// required for the windows gl.h to work
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#include <GL/glu.h>
|
#include <GL/glu.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue