Raul,
I am not currently exploring openGL, but I have an old RED printed manual
which says that gluErrorString() [not glGetString ?] should be used with
glGetError(). The following code snippet is from the RED book.
GLenum errCode;
const GLubyte *errString;
if ((errCode = glGetErrof()) != GL_NO_ERROR) {
errString = gluErrorString(errCode);
fprintf (stderr, "OpenGL Error: %s\n", errString);
}
On Fri, Jun 26, 2015 at 3:30 PM, Raul Miller <[email protected]> wrote:
> Conceptually speaking, when working with opengl, if there's an error,
> you should be able to use glGetError and I think glGetString to
> diagnose the error.
>
>
--
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm