From 492f117fd3f76c7a5778ca2a07c6f5803242b8e0 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sun, 24 Apr 2005 22:59:51 +0000 Subject: Merged with current JOGL trunk (by using -r HEAD) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@262 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/gl-impl-x11.cfg | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'make/gl-impl-x11.cfg') diff --git a/make/gl-impl-x11.cfg b/make/gl-impl-x11.cfg index 33527d351..b60a28787 100644 --- a/make/gl-impl-x11.cfg +++ b/make/gl-impl-x11.cfg @@ -57,5 +57,11 @@ CustomJavaCode X11GLImpl public java.nio.ByteBuffer glAllocateMemoryNV(int arg CustomJavaCode X11GLImpl return glXAllocateMemoryNV(arg0, arg1, arg2, arg3); CustomJavaCode X11GLImpl } +CustomJavaCode X11GLImpl public void setSwapInterval(int interval) { +CustomJavaCode X11GLImpl if (isExtensionAvailable("GLX_SGI_swap_control")) { +CustomJavaCode X11GLImpl glXSwapIntervalSGI(interval); +CustomJavaCode X11GLImpl } +CustomJavaCode X11GLImpl } + IncludeAs CustomJavaCode X11GLImpl gl-impl-CustomJavaCode.java IncludeAs CustomCCode gl-impl-CustomCCode.c -- cgit v1.2.3