Added #define's and local include<osg/Image> to fix Windows GL 1.1 build against

This commit is contained in:
Robert Osfield
2010-10-06 16:36:30 +00:00
parent 8a6b0f0cef
commit 29bc5995e7
3 changed files with 12 additions and 0 deletions

View File

@@ -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

View File

@@ -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",

View File

@@ -29,6 +29,7 @@
*/
#include <osg/GLU>
#include <osg/Image>
// #include "gluos.h"
// #include <GL/glu.h>