diff options
author | Kenneth Russel <[email protected]> | 2009-06-18 22:22:19 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2009-06-18 22:22:19 +0000 |
commit | fd062fc0aec3b70f804c2bae2381ebcb87182196 (patch) | |
tree | 40b0ad16c8769e9d9b6d7c512c39cf4891efb804 /src/classes | |
parent | d4f0daebc603cbbd3d9fe7c36f890ba715e7c294 (diff) |
Made InternalBufferUtils package-private1.x-maint
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
Diffstat (limited to 'src/classes')
-rw-r--r-- | src/classes/com/sun/opengl/impl/InternalBufferUtils.java | 4 |
1 files 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); } |