mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Don't use GLU when compiling for GLES
This commit is contained in:
parent
40f203b543
commit
089f99659d
@ -5174,7 +5174,7 @@ report_errors_loop(int line, const char *source_file, GLenum error_code,
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
string CLP(GraphicsStateGuardian)::
|
string CLP(GraphicsStateGuardian)::
|
||||||
get_error_string(GLenum error_code) {
|
get_error_string(GLenum error_code) {
|
||||||
#ifdef HAVE_GLU
|
#if defined(HAVE_GLU) && !defined(OPENGLES)
|
||||||
const GLubyte *error_string = GLUP(ErrorString)(error_code);
|
const GLubyte *error_string = GLUP(ErrorString)(error_code);
|
||||||
if (error_string != (const GLubyte *)NULL) {
|
if (error_string != (const GLubyte *)NULL) {
|
||||||
return string((const char *)error_string);
|
return string((const char *)error_string);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user