Search
lxdream.org :: lxdream/src/pvr2/glutil.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glutil.h
changeset 1150:1038800cecd8
prev1140:7dc1c71ece76
next1159:580436b01b6c
author nkeynes
date Thu Nov 11 17:51:37 2010 +1000 (13 years ago)
permissions -rw-r--r--
last change Add convenience gl_check_error() function
file annotate diff log raw
1.1 --- a/src/pvr2/glutil.h Tue Oct 26 08:39:02 2010 +1000
1.2 +++ b/src/pvr2/glutil.h Thu Nov 11 17:51:37 2010 +1000
1.3 @@ -40,6 +40,12 @@
1.4 void glPrintInfo( FILE *out );
1.5
1.6 /**
1.7 + * Check for a GL error and print a message if there is one
1.8 + * @param context If not null, a string to be printed along side an error message
1.9 + * @return TRUE if there was an error, otherwise FALSE
1.10 + */
1.11 +gboolean gl_check_error( const char *context );
1.12 +/**
1.13 * Test if secondary color (GL_COLOR_SUM) is supported.
1.14 */
1.15 gboolean isGLSecondaryColorSupported();
.