diff options
Diffstat (limited to 'make/gl-impl-win32.cfg')
-rw-r--r-- | make/gl-impl-win32.cfg | 9 |
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 / |