summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2016-08-30 20:35:16 -0400
committerRob Clark <robdclark@gmail.com>2016-08-30 21:17:33 -0400
commit7b20482798d72c087e6435daa17533358ebbd010 (patch)
tree30231f98ce7866a61587e72c2358c170fd5a08be
parentb9bb4c5c10add204538e406ab2828e69c083ba0d (diff)
also print GL extensions
-rw-r--r--kmscube.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kmscube.c b/kmscube.c
index 435033d..a5915a6 100644
--- a/kmscube.c
+++ b/kmscube.c
@@ -377,6 +377,7 @@ static int init_gl(void)
/* connect the context to the surface */
eglMakeCurrent(gl.display, gl.surface, gl.surface, gl.context);
+ printf("GL Extensions: \"%s\"\n", glGetString(GL_EXTENSIONS));
vertex_shader = glCreateShader(GL_VERTEX_SHADER);