Fixed bug 1837 - Use error extension instead of glGetError()
Implemented support for GL_ARB_debug_output, but was unable to test it on Mac OS X.
This commit is contained in:
parent
750f6fb9d9
commit
91ff680aa5
5 changed files with 131 additions and 42 deletions
|
@ -255,6 +255,7 @@ main(int argc, char *argv[])
|
|||
printf("Vendor : %s\n", glGetString(GL_VENDOR));
|
||||
printf("Renderer : %s\n", glGetString(GL_RENDERER));
|
||||
printf("Version : %s\n", glGetString(GL_VERSION));
|
||||
printf("Extensions : %s\n", glGetString(GL_EXTENSIONS));
|
||||
printf("\n");
|
||||
|
||||
status = SDL_GL_GetAttribute(SDL_GL_RED_SIZE, &value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue