summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/perftst/PerfModule.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es2/perftst/PerfModule.java')
-rw-r--r--src/demos/es2/perftst/PerfModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/es2/perftst/PerfModule.java b/src/demos/es2/perftst/PerfModule.java
index 69b9f1a..b472039 100644
--- a/src/demos/es2/perftst/PerfModule.java
+++ b/src/demos/es2/perftst/PerfModule.java
@@ -47,7 +47,7 @@ public abstract class PerfModule {
// Let's manage all our states using ShaderState.
st.attachShaderProgram(gl, sp);
- st.glUseProgram(gl, true);
+ st.useProgram(gl, true);
}
public static final void put(Buffer buffer, int type, float v) {