mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-08 16:04:39 +00:00
Fixed TexCoordPointer exception when ARB_multitexture is not available.
This commit is contained in:
parent
e11af72624
commit
0aa3bf8c17
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue