Skip to content

Commit 381a224

Browse files
committed
fixed lwjgl2 gl implementation not overriding glBindImageTexture
1 parent 2f6a1a2 commit 381a224

File tree

1 file changed

+8
-1
lines changed
  • jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl

1 file changed

+8
-1
lines changed

jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglGL.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,14 @@ public void glBindBuffer(int param1, int param2) {
5959
public void glBindTexture(int param1, int param2) {
6060
GL11.glBindTexture(param1, param2);
6161
}
62-
62+
63+
@Override
64+
public void glBindImageTexture(final int unit, final int texture, final int level,
65+
final boolean layered, final int layer,
66+
final int access, final int format) {
67+
GL42.glBindImageTexture(unit, texture, level, layered, layer, access, format);
68+
}
69+
6370
@Override
6471
public void glBlendEquationSeparate(int colorMode, int alphaMode){
6572
GL20.glBlendEquationSeparate(colorMode,alphaMode);

0 commit comments

Comments
 (0)