diff options
author | Sven Gothel <[email protected]> | 2011-08-22 17:30:13 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-08-22 17:30:13 +0200 |
commit | 51682361b7a98988e645a7d45f64fa08dec7bf42 (patch) | |
tree | cf90e17738befe1ad4c3f0d3b5b9b6030afb0fa1 /src | |
parent | 762d74fe6780217e4726c3afd7bce3551a4a5709 (diff) |
Adapt to commit 55dae6968075cd082f7a9b8060f0912669e7aa78
Diffstat (limited to 'src')
-rwxr-xr-x | src/demos/es1/angeles/AngelesGL.java | 6 | ||||
-rwxr-xr-x | src/demos/es1/angeles/AngelesGLil.java | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/demos/es1/angeles/AngelesGL.java b/src/demos/es1/angeles/AngelesGL.java index 0068ade..42dbf76 100755 --- a/src/demos/es1/angeles/AngelesGL.java +++ b/src/demos/es1/angeles/AngelesGL.java @@ -300,12 +300,12 @@ public class GLSpatial { vboName = tmp[0]; vArrayData = GLArrayDataWrapper.createFixed(gl.GL_VERTEX_ARRAY, vComps, GL.GL_FLOAT, false, - 0, pBuffer, vboName, vOffset, GL.GL_STATIC_DRAW); + 0, pBuffer, vboName, vOffset, GL.GL_STATIC_DRAW, GL.GL_ARRAY_BUFFER); cArrayData = GLArrayDataWrapper.createFixed(gl.GL_COLOR_ARRAY, cComps, GL.GL_FLOAT, false, - 0, pBuffer, vboName, cOffset, GL.GL_STATIC_DRAW); + 0, pBuffer, vboName, cOffset, GL.GL_STATIC_DRAW, GL.GL_ARRAY_BUFFER); if(useNormalArray) { nArrayData = GLArrayDataWrapper.createFixed(gl.GL_NORMAL_ARRAY, nComps, GL.GL_FLOAT, false, - 0, pBuffer, vboName, nOffset, GL.GL_STATIC_DRAW); + 0, pBuffer, vboName, nOffset, GL.GL_STATIC_DRAW, GL.GL_ARRAY_BUFFER); } } diff --git a/src/demos/es1/angeles/AngelesGLil.java b/src/demos/es1/angeles/AngelesGLil.java index 2ead5ea..3e96dc1 100755 --- a/src/demos/es1/angeles/AngelesGLil.java +++ b/src/demos/es1/angeles/AngelesGLil.java @@ -299,12 +299,12 @@ public class GLSpatial { interlArray.flip(); vArrayData = GLArrayDataWrapper.createFixed(gl.GL_VERTEX_ARRAY, vComps, GL.GL_FLOAT, false, - bStride, pBuffer, vboName, vOffset, GL.GL_STATIC_DRAW); + bStride, pBuffer, vboName, vOffset, GL.GL_STATIC_DRAW, GL.GL_ARRAY_BUFFER); cArrayData = GLArrayDataWrapper.createFixed(gl.GL_COLOR_ARRAY, cComps, GL.GL_FLOAT, false, - bStride, pBuffer, vboName, cOffset, GL.GL_STATIC_DRAW); + bStride, pBuffer, vboName, cOffset, GL.GL_STATIC_DRAW, GL.GL_ARRAY_BUFFER); if(useNormalArray) { nArrayData = GLArrayDataWrapper.createFixed(gl.GL_NORMAL_ARRAY, nComps, GL.GL_FLOAT, false, - bStride, pBuffer, vboName, nOffset, GL.GL_STATIC_DRAW); + bStride, pBuffer, vboName, nOffset, GL.GL_STATIC_DRAW, GL.GL_ARRAY_BUFFER); } } |