graphics

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 6c52ca77e4a3ed96b011080cd1137e03a66167be
parent 2b050a93dfdba438119221597411f4a2fcbb69bb
Author: Brian Swetland <swetland@frotz.net>
Date:   Sun,  1 Sep 2013 00:35:33 -0700

glapp: chatter about OGL vendor and version

Diffstat:
Mcommon/glapp.cc | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/common/glapp.cc b/common/glapp.cc @@ -186,6 +186,11 @@ int App::start(void) { } } + fprintf(stderr, "Vender: %s\n", glGetString(GL_VENDOR)); + fprintf(stderr, "Renderer: %s\n", glGetString(GL_RENDERER)); + fprintf(stderr, "GL Version: %s\n", glGetString(GL_VERSION)); + fprintf(stderr, "GLSL Version: %s\n", glGetString(GL_SHADING_LANGUAGE_VERSION)); + SDL_GL_SetSwapInterval(_vsync); gl_map_functions();