gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/libbase tu_opengl_includes.h


From: Vitaly Alexeev
Subject: [Gnash-commit] gnash/libbase tu_opengl_includes.h
Date: Wed, 30 Aug 2006 09:01:39 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Vitaly Alexeev <alexeev>        06/08/30 09:01:39

Modified files:
        libbase        : tu_opengl_includes.h 

Log message:
        added win32 opengl #define

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/tu_opengl_includes.h?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: tu_opengl_includes.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/tu_opengl_includes.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- tu_opengl_includes.h        28 Aug 2006 19:01:38 -0000      1.8
+++ tu_opengl_includes.h        30 Aug 2006 09:01:38 -0000      1.9
@@ -15,6 +15,24 @@
 // it's such a pig, so #define a couple things that are required to
 // make the gl.h stuff work.
 #if defined(_WIN32) || defined(WIN32)
+
+// GL extension constants...
+#      ifdef HAVE_SDL_H
+#              include <SDL_opengl.h>
+#      else
+#              define GL_VERTEX_ARRAY_RANGE_NV          0x851D   
+#              define GL_VERTEX_ARRAY_RANGE_LENGTH_NV   0x851E   
+#              define GL_VERTEX_ARRAY_RANGE_VALID_NV    0x851F   
+#              define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520   
+#              define GL_VERTEX_ARRAY_RANGE_POINTER_NV  0x8521   
+#              define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533   
+#              define GL_TEXTURE0_ARB                   0x84C0   
+#              define GL_TEXTURE1_ARB                   0x84C1   
+#              define GL_MAX_TEXTURE_UNITS_ARB          0x84E2   
+#              define GL_CLAMP_TO_EDGE                  0x812F   
+#              define GL_ALL_COMPLETED_NV               0x84F2   
+#      endif
+
 # ifndef _INC_WINDOWS
 
 #  define WINAPI       __stdcall




reply via email to

[Prev in Thread] Current Thread [Next in Thread]