fix the windows build

This commit is contained in:
learn_more 2013-09-13 23:07:36 +02:00
parent 9d221d6279
commit 8f986bdce6
3 changed files with 10 additions and 1 deletions

View File

@ -18,6 +18,7 @@
*/
#include <stdint.h>
#include "IGLShadowMapRenderer.h"
#include "IGLDevice.h"

View File

@ -33,6 +33,8 @@
#include "../Core/ScriptManager.h"
#include <algorithm> //std::sort
//using namespace spades::gui;
#ifdef WIN32
#include <windows.h>

View File

@ -13,5 +13,11 @@
#include <OpenGL/gl3.h>
#include <OpenGL/gl3ext.h>
#else
#include <GL/glew.h> // <glew.h>?
#include <GL/glew.h>
// v3.3 / GL_ARB_occlusion_query2
#ifndef GL_ANY_SAMPLES_PASSED
# define GL_ANY_SAMPLES_PASSED 0x8C2F
#endif
#endif