From Wang Rui, Compile fixes
This commit is contained in:
parent
e5a9eaa711
commit
60457486b0
@ -14,10 +14,15 @@
|
||||
|
||||
#ifndef OSG_BUFFERINDEXBINDING
|
||||
#define OSG_BUFFERINDEXBINDING 1
|
||||
|
||||
#include <osg/Export>
|
||||
#include <osg/BufferObject>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
#ifndef GL_TRANSFORM_FEEDBACK_BUFFER
|
||||
#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
|
||||
#endif
|
||||
|
||||
namespace osg {
|
||||
|
||||
class State;
|
||||
|
@ -73,6 +73,17 @@
|
||||
#endif
|
||||
|
||||
#ifndef GL_VERSION_1_5
|
||||
#if defined(_WIN64)
|
||||
typedef __int64 GLintptr;
|
||||
typedef __int64 GLsizeiptr;
|
||||
#elif defined(__ia64__) || defined(__x86_64__)
|
||||
typedef long int GLintptr;
|
||||
typedef long int GLsizeiptr;
|
||||
#else
|
||||
typedef int GLintptr;
|
||||
typedef int GLsizeiptr;
|
||||
#endif
|
||||
|
||||
#define GL_STREAM_DRAW 0x88E0
|
||||
#define GL_STREAM_READ 0x88E1
|
||||
#define GL_STREAM_COPY 0x88E2
|
||||
|
Loading…
Reference in New Issue
Block a user