diff options
author | Sven Gothel <[email protected]> | 2008-08-21 19:30:42 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-08-21 19:30:42 +0000 |
commit | bf8817969ca69fbeeb9b551e9eab92b48ca2bf44 (patch) | |
tree | 63dc9c66e988c2a9a5a941ee8c407bc118907503 /src/demos/es2/perftst/PerfUniLoad.java | |
parent | 3f3932e88b992a231f90401fe5cd7965bc80ac41 (diff) |
ES2.PerfTst: Uni - fix
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@281 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/es2/perftst/PerfUniLoad.java')
-rwxr-xr-x | src/demos/es2/perftst/PerfUniLoad.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demos/es2/perftst/PerfUniLoad.java b/src/demos/es2/perftst/PerfUniLoad.java index d3174e2..3b27673 100755 --- a/src/demos/es2/perftst/PerfUniLoad.java +++ b/src/demos/es2/perftst/PerfUniLoad.java @@ -68,7 +68,6 @@ public class PerfUniLoad extends PerfModule { for(int i=0; i<numObjs; i++) { FloatBuffer fb = BufferUtil.newFloatBuffer(4*numArrayElem); - dummyUni[i] = new GLUniformData("mgl_Dummy"+i, 4, fb); for(int j=0; j<numArrayElem; j++) { // Fill them up @@ -81,6 +80,8 @@ public class PerfUniLoad extends PerfModule { if(y>1f) { x=0f; y=0f; z+=0.01f; } } fb.flip(); + + dummyUni[i] = new GLUniformData("mgl_Dummy"+i, 4, fb); } // |