[waffle] [PATCH v3 2/4] gl_basic: add gbm support

Jordan Justen jordan.l.justen at intel.com
Thu Sep 13 10:04:48 PDT 2012


Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
 examples/gl_basic.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/gl_basic.c b/examples/gl_basic.c
index c7f28b5..381a0cf 100644
--- a/examples/gl_basic.c
+++ b/examples/gl_basic.c
@@ -53,7 +53,7 @@ static const char *usage_message =
     "    gl_basic <platform> <context_api>\n"
     "\n"
     "arguments:\n"
-    "    platform: One of android, cgl, glx, wayland, x11_egl.\n"
+    "    platform: One of android, cgl, gbm, glx, wayland, x11_egl.\n"
     "    context_api: One of gl, gles1, gles2.\n"
     "\n"
     "example:\n"
@@ -161,6 +161,7 @@ struct enum_map {
 static const struct enum_map platform_map[] = {
     {WAFFLE_PLATFORM_ANDROID,   "android"       },
     {WAFFLE_PLATFORM_CGL,       "cgl",          },
+    {WAFFLE_PLATFORM_GBM,       "gbm"           },
     {WAFFLE_PLATFORM_GLX,       "glx"           },
     {WAFFLE_PLATFORM_WAYLAND,   "wayland"       },
     {WAFFLE_PLATFORM_X11_EGL,   "x11_egl"       },
-- 
1.7.9.5



More information about the waffle mailing list