Commit 38d01995 authored by Thomas Guillem's avatar Thomas Guillem

opengl: disable glError() asserts

Proper glError() handling needs to be implemented before enabling these
asserts.
parent a719d589
......@@ -49,16 +49,13 @@
#define SPHERE_RADIUS 1.f
#ifndef NDEBUG
# define HAVE_GL_ASSERT_NOERROR
#endif
#ifdef __APPLE__
/* FIXME: GL_ASSERT_NOERROR disabled for now because:
* Proper GL error handling need to be implemented
* glClear(GL_COLOR_BUFFER_BIT) throws a GL_INVALID_FRAMEBUFFER_OPERATION on macOS
* assert fails on vout_display_opengl_Delete on iOS
*/
# undef HAVE_GL_ASSERT_NOERROR
#if 0
# define HAVE_GL_ASSERT_NOERROR
#endif
#ifdef HAVE_GL_ASSERT_NOERROR
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment