From 423f5bf7f518433edcbf64accaf2cf5252cb4a63 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 9 Jun 2011 00:42:41 +0200 Subject: GLBuffers fix ; GL imageSizeInBytes fix / unit tests. - Moved implementation of prev GL imageSizeInBytes(..) -> GLBuffers.sizeof() for all GL profiles - GLBuffers.*: Added missing formats and types (GL2.1, GL3.3 and GL4.1) - GLBuffers.sizeof(): Fail fast if format/type is unhandled, or alignment invalid - Added unit test for GLBuffers.sizeof() --- make/config/jogl/gl-es1.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'make/config/jogl/gl-es1.cfg') diff --git a/make/config/jogl/gl-es1.cfg b/make/config/jogl/gl-es1.cfg index 5c69be9b7..88ce09569 100644 --- a/make/config/jogl/gl-es1.cfg +++ b/make/config/jogl/gl-es1.cfg @@ -98,3 +98,4 @@ Import javax.media.opengl.GLES1 Import javax.media.opengl.GLES2 Import javax.media.opengl.GL2 Import com.jogamp.common.nio.Buffers +Import com.jogamp.opengl.util.GLBuffers -- cgit v1.2.3