// FIXME this is less than ideal of course...\r
IntBuffer typeTmp = BufferUtils.createIntBuffer(2);\r
String name = GL20.glGetActiveAttrib(program, index, 256, typeTmp);\r
- if (type instanceof IntBuffer) ((IntBuffer)type).put(typeTmp.get(0));\r
+ size.put(typeTmp.get(0));\r
+ if (type instanceof IntBuffer) ((IntBuffer)type).put(typeTmp.get(1));\r
return name;\r
}\r
\r
// FIXME this is less than ideal of course...\r
IntBuffer typeTmp = BufferUtils.createIntBuffer(2);\r
String name = GL20.glGetActiveUniform(program, index, 256, typeTmp);\r
+ size.put(typeTmp.get(0));\r
if (type instanceof IntBuffer) ((IntBuffer)type).put(typeTmp.get(0));\r
return name;\r
}\r
import com.badlogic.gdx.graphics.OrthographicCamera;\r
import com.badlogic.gdx.math.Vector2;\r
import com.badlogic.gdx.scenes.scene2d.Stage;\r
+import com.badlogic.gdx.tests.MeshShaderTest;\r
import com.badlogic.gdx.tests.TimerTest;\r
import com.badlogic.gdx.tests.g3d.Basic3DSceneTest;\r
import com.badlogic.gdx.tests.g3d.Basic3DTest;\r
// new SharedLibraryLoader("../../extensions/gdx-controllers/gdx-controllers-desktop/libs/gdx-controllers-desktop-natives.jar").load("gdx-controllers-desktop");\r
// new SharedLibraryLoader("../../gdx/libs/gdx-natives.jar").load("gdx");\r
\r
- GdxTest test = new TimerTest();\r
+ GdxTest test = new MeshShaderTest();\r
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();\r
config.useGL20 = test.needsGL20();\r
config.width = 480;\r