mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 06:53:59 +00:00
disallow creation of ILUT prior to ILU (unable to load native unless ILU has been loaded first)
This commit is contained in:
parent
5eab7dd2a6
commit
5cdf986ed6
1 changed files with 4 additions and 0 deletions
|
|
@ -120,6 +120,10 @@ public class ILUT {
|
|||
throw new LWJGLException("Cannot create ILUT without having created IL instance");
|
||||
}
|
||||
|
||||
if(!ILU.isCreated()) {
|
||||
throw new LWJGLException("Cannot create ILUT without having created ILU instance");
|
||||
}
|
||||
|
||||
ILNative.createILUT();
|
||||
created = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue