From bf62f009f8521bde54402cc9e5d22eb133b53e62 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 26 Mar 2002 00:36:44 +0000 Subject: [PATCH] more robust error message handling --- panda/src/glgsg/glGraphicsStateGuardian.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/panda/src/glgsg/glGraphicsStateGuardian.cxx b/panda/src/glgsg/glGraphicsStateGuardian.cxx index ae682648f0..206850be85 100644 --- a/panda/src/glgsg/glGraphicsStateGuardian.cxx +++ b/panda/src/glgsg/glGraphicsStateGuardian.cxx @@ -3937,7 +3937,13 @@ void report_errors_loop(GLenum error_code) { #define MAXGLERRORSREPORTED 20 int cnt=0; while ((cnt