From dd16a976876a779dc0ee6da9ebf5ada29f5781c7 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 6 Aug 2003 21:26:19 +0000 Subject: 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 --- make/gl-impl-win32.cfg | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'make/gl-impl-win32.cfg') 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 @@ -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 / -- cgit v1.2.3