From 613c86be68b46e8331303728014f58f5ded16957 Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 19 Jun 2012 23:48:48 +0200 Subject: [PATCH] Drop useless gl error check. --- gfx/gl_common.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gfx/gl_common.h b/gfx/gl_common.h index 62e83f715c..122fc52026 100644 --- a/gfx/gl_common.h +++ b/gfx/gl_common.h @@ -50,14 +50,6 @@ static inline bool gl_check_error(void) case GL_INVALID_OPERATION: RARCH_ERR("GL: Invalid operation.\n"); break; -#ifndef HAVE_OPENGLES20 - case GL_STACK_OVERFLOW: - RARCH_ERR("GL: Stack overflow. (wtf)\n"); - break; - case GL_STACK_UNDERFLOW: - RARCH_ERR("GL: Stack underflow. (:v)\n"); - break; -#endif case GL_OUT_OF_MEMORY: RARCH_ERR("GL: Out of memory. Harhar.\n"); break;