[waffle] [PATCH v2 4/4] gl_basic: add gbm support

Jordan Justen jordan.l.justen at intel.com
Mon Aug 13 17:11:46 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 ea9243d..ef9e342 100644
--- a/examples/gl_basic.c
+++ b/examples/gl_basic.c
@@ -52,7 +52,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"
@@ -158,6 +158,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