disallow creation of ILUT prior to ILU (unable to load native unless ILU has been loaded first)

This commit is contained in:
Brian Matzon 2005-12-18 10:54:18 +00:00
parent 5eab7dd2a6
commit 5cdf986ed6
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}