*** empty log message ***
This commit is contained in:
parent
2077bbb1db
commit
b39740daf3
|
@ -25,9 +25,19 @@
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define CHECK_EXISTS(f) \
|
||||||
|
{ \
|
||||||
|
if (!f) { \
|
||||||
|
jclass cls = env->FindClass("org/lwjgl/opengl/OpenGLException"); \
|
||||||
|
env->ThrowNew(cls, "This function is not available in this driver."); \
|
||||||
|
env->DeleteLocalRef(cls); \
|
||||||
|
} \
|
||||||
|
} \
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define CHECK_GL_ERROR
|
#define CHECK_GL_ERROR
|
||||||
|
#define CHECK_EXISTS(f)
|
||||||
|
|
||||||
#endif /* _DEBUG */
|
#endif /* _DEBUG */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue