From 51e246743458b40ebed92ffaebf2f07483becb51 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Tue, 15 Jul 2003 15:25:43 +0000 Subject: Added ContextVariableName configuration option to GLEmitter because of namespace conflicts with some argument names on X11. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@33 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/gl-impl-x11.cfg | 9 +++++---- make/host.properties | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'make') 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 CustomCCode #include @@ -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 / diff --git a/make/host.properties b/make/host.properties index 01e90955d..0dea67346 100644 --- a/make/host.properties +++ b/make/host.properties @@ -16,9 +16,9 @@ # including the name of the jar # # Windows -antlr.jar=C:/Users/kbr/ANTLR/antlr-2.7.2/antlr.jar +# antlr.jar=C:/Users/kbr/ANTLR/antlr-2.7.2/antlr.jar # Linux -# antlr.jar=/home/kbr/ANTLR/antlr-2.7.2/antlr.jar +antlr.jar=/home/kbr/antlr-2.7.2/antlr.jar # Mac OS X # antlr.jar=/Users/kbr/antlr-2.7.2/antlr.jar -- cgit v1.2.3