Added #define's and local include<osg/Image> to fix Windows GL 1.1 build against
This commit is contained in:
@@ -85,6 +85,13 @@
|
||||
#define GL_PACK_ROW_LENGTH 0x0D02
|
||||
#endif
|
||||
|
||||
#ifndef GL_PACK_SKIP_IMAGES
|
||||
#define GL_PACK_SKIP_IMAGES 0x806B
|
||||
#define GL_PACK_IMAGE_HEIGHT 0x806C
|
||||
#define GL_UNPACK_SKIP_IMAGES 0x806D
|
||||
#define GL_UNPACK_IMAGE_HEIGHT 0x806E
|
||||
#endif
|
||||
|
||||
namespace osg {
|
||||
|
||||
// forward declare
|
||||
|
||||
@@ -32,6 +32,10 @@
|
||||
|
||||
// #include "gluos.h"
|
||||
|
||||
#ifndef GL_TABLE_TOO_LARGE
|
||||
#define GL_TABLE_TOO_LARGE 0x8031
|
||||
#endif
|
||||
|
||||
static unsigned char *__gluNurbsErrors[] = {
|
||||
(unsigned char*) " ",
|
||||
(unsigned char*) "spline order un-supported",
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
*/
|
||||
|
||||
#include <osg/GLU>
|
||||
#include <osg/Image>
|
||||
|
||||
// #include "gluos.h"
|
||||
// #include <GL/glu.h>
|
||||
|
||||
Reference in New Issue
Block a user