aboutsummaryrefslogtreecommitdiffstats
path: root/make/gl-impl-x11.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/gl-impl-x11.cfg')
-rw-r--r--make/gl-impl-x11.cfg9
1 files changed, 5 insertions, 4 deletions
diff --git a/make/gl-impl-x11.cfg b/make/gl-impl-x11.cfg
index 1468fab2a..e94923c64 100644
--- a/make/gl-impl-x11.cfg
+++ b/make/gl-impl-x11.cfg
@@ -10,6 +10,7 @@ Include gl-glx-common.cfg
EmitProcAddressTable true
ProcAddressTableClassName GLProcAddressTable
+ContextVariableName _context
CustomCCode #include <inttypes.h>
CustomCCode #include <X11/Xlib.h>
@@ -32,20 +33,20 @@ CustomCCode typedef void* LPVOID;
CustomCCode typedef unsigned int* PUINT;
CustomJavaCode X11GLImpl public X11GLImpl(X11GLContext context) {
-CustomJavaCode X11GLImpl this.context = context;
+CustomJavaCode X11GLImpl this._context = context;
CustomJavaCode X11GLImpl }
CustomJavaCode X11GLImpl public boolean isFunctionAvailable(String glFunctionName)
CustomJavaCode X11GLImpl {
-CustomJavaCode X11GLImpl return context.isFunctionAvailable(glFunctionName);
+CustomJavaCode X11GLImpl return _context.isFunctionAvailable(glFunctionName);
CustomJavaCode X11GLImpl }
CustomJavaCode X11GLImpl public boolean isExtensionAvailable(String glExtensionName)
CustomJavaCode X11GLImpl {
-CustomJavaCode X11GLImpl return context.isExtensionAvailable(glExtensionName);
+CustomJavaCode X11GLImpl return _context.isExtensionAvailable(glExtensionName);
CustomJavaCode X11GLImpl }
-CustomJavaCode X11GLImpl private X11GLContext context;
+CustomJavaCode X11GLImpl private X11GLContext _context;
CustomJavaCode X11GLImpl /**
CustomJavaCode X11GLImpl * Provides platform-independent access to the wglAllocateMemoryNV /