mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
Fixed include error
This commit is contained in:
parent
1ca070aeab
commit
134c57c4ff
@ -38,6 +38,12 @@
|
||||
// be included multiple times.
|
||||
|
||||
|
||||
// Before including gl.h, need to include windows.h
|
||||
#if defined(_WIN32)
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
// This prevents glext.h from getting included by gl.h
|
||||
// That way, we can provide our own, better version.
|
||||
#define __glext_h_
|
||||
@ -51,10 +57,6 @@
|
||||
#undef GL_GLEXT_VERSION
|
||||
#include "panda_glext.h"
|
||||
|
||||
#ifndef GL_VERSION_1_5
|
||||
#error "hey, where's 1.5"
|
||||
#endif
|
||||
|
||||
#include "glmisc_src.h"
|
||||
#include "glTextureContext_src.h"
|
||||
#include "glVertexBufferContext_src.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user