From fd062fc0aec3b70f804c2bae2381ebcb87182196 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Thu, 18 Jun 2009 22:22:19 +0000 Subject: Made InternalBufferUtils package-private git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/1.x-maint@1995 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/opengl/impl/InternalBufferUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classes/com/sun/opengl/impl/InternalBufferUtils.java b/src/classes/com/sun/opengl/impl/InternalBufferUtils.java index 89639c493..b159027cb 100644 --- a/src/classes/com/sun/opengl/impl/InternalBufferUtils.java +++ b/src/classes/com/sun/opengl/impl/InternalBufferUtils.java @@ -43,7 +43,7 @@ import java.nio.*; /** Utility routines available only to the JOGL implementation. */ -public class InternalBufferUtils { +class InternalBufferUtils { /** Allocates a new direct byte buffer at the given address with the given capacity. This is exposed only because of glMapBufferARB and its semantics; it is undesirable to allocate a new buffer @@ -51,5 +51,5 @@ public class InternalBufferUtils { application would typically need to re-slice the buffer every frame. Instead we cache these ByteBuffer objects up in Java and look them up in a HashMap by base address and capacity. */ - public static native ByteBuffer newDirectByteBuffer(long address, int capacity); + static native ByteBuffer newDirectByteBuffer(long address, int capacity); } -- cgit v1.2.3