mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-08 01:39:57 +01:00
Fixed TexCoordPointer exception when ARB_multitexture is not available.
This commit is contained in:
parent
e11af72624
commit
0aa3bf8c17
|
|
@ -62,7 +62,7 @@ class BaseReferences {
|
|||
GL11.glGetInteger(GL13.GL_MAX_TEXTURE_UNITS, temp);
|
||||
max_texture_units = temp.get(0);
|
||||
} else
|
||||
max_texture_units = 0;
|
||||
max_texture_units = 1;
|
||||
glTexCoordPointer_buffer = new Buffer[max_texture_units];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue