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-es2.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'make/config/jogl/gl-es2.cfg') diff --git a/make/config/jogl/gl-es2.cfg b/make/config/jogl/gl-es2.cfg index dcdc39b29..f529ddbf7 100644 --- a/make/config/jogl/gl-es2.cfg +++ b/make/config/jogl/gl-es2.cfg @@ -85,5 +85,6 @@ Import javax.media.opengl.GL2 Import javax.media.opengl.GLArrayData Import javax.media.opengl.GLUniformData Import com.jogamp.common.nio.Buffers +Import com.jogamp.opengl.util.GLBuffers Import java.io.PrintStream -- cgit v1.2.3