fix the windows build
This commit is contained in:
parent
9d221d6279
commit
8f986bdce6
@ -18,6 +18,7 @@
|
||||
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "IGLShadowMapRenderer.h"
|
||||
#include "IGLDevice.h"
|
||||
|
||||
|
@ -33,6 +33,8 @@
|
||||
|
||||
#include "../Core/ScriptManager.h"
|
||||
|
||||
#include <algorithm> //std::sort
|
||||
|
||||
//using namespace spades::gui;
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user