Fix MSVC builds after recent changes

This commit is contained in:
Marek Roszko 2021-06-02 23:57:45 -04:00
parent d56251fdac
commit 24cb0e77eb
2 changed files with 8 additions and 0 deletions

View File

@ -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"

View File

@ -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