summaryrefslogtreecommitdiffstats
path: root/make/gl-impl-win32.cfg
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2003-08-06 21:26:19 +0000
committerKenneth Russel <[email protected]>2003-08-06 21:26:19 +0000
commitdd16a976876a779dc0ee6da9ebf5ada29f5781c7 (patch)
tree4e2c08aeb99ae5318000836371455153ee204c72 /make/gl-impl-win32.cfg
parent661fec76c5ccd030016d66675024ec604752ccda (diff)
Fixed (?) build problem on X11 and Mac OS X
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@46 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/gl-impl-win32.cfg')
-rw-r--r--make/gl-impl-win32.cfg9
1 files changed, 5 insertions, 4 deletions
diff --git a/make/gl-impl-win32.cfg b/make/gl-impl-win32.cfg
index 18c213769..ef23cc13f 100644
--- a/make/gl-impl-win32.cfg
+++ b/make/gl-impl-win32.cfg
@@ -10,6 +10,7 @@ Include gl-glx-common.cfg
EmitProcAddressTable true
ProcAddressTableClassName GLProcAddressTable
+ContextVariableName _context
CustomCCode #define WIN32_LEAN_AND_MEAN
CustomCCode #include <windows.h>
@@ -35,20 +36,20 @@ CustomCCode typedef int intptr_t;
CustomCCode #endif
CustomJavaCode WindowsGLImpl public WindowsGLImpl(WindowsGLContext context) {
-CustomJavaCode WindowsGLImpl this.context = context;
+CustomJavaCode WindowsGLImpl this._context = context;
CustomJavaCode WindowsGLImpl }
CustomJavaCode WindowsGLImpl public boolean isFunctionAvailable(String glFunctionName)
CustomJavaCode WindowsGLImpl {
-CustomJavaCode WindowsGLImpl return context.isFunctionAvailable(glFunctionName);
+CustomJavaCode WindowsGLImpl return _context.isFunctionAvailable(glFunctionName);
CustomJavaCode WindowsGLImpl }
CustomJavaCode WindowsGLImpl public boolean isExtensionAvailable(String glExtensionName)
CustomJavaCode WindowsGLImpl {
-CustomJavaCode WindowsGLImpl return context.isExtensionAvailable(glExtensionName);
+CustomJavaCode WindowsGLImpl return _context.isExtensionAvailable(glExtensionName);
CustomJavaCode WindowsGLImpl }
-CustomJavaCode WindowsGLImpl private WindowsGLContext context;
+CustomJavaCode WindowsGLImpl private WindowsGLContext _context;
CustomJavaCode WindowsGLImpl /**
CustomJavaCode WindowsGLImpl * Provides platform-independent access to the wglAllocateMemoryNV /