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
|
@ -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…
Reference in New Issue