[waffle] [PATCH 8/8] core: update wcore_enum_to_string()

Emil Velikov emil.l.velikov at gmail.com
Sat May 24 15:51:35 PDT 2014


Add a couple of missing cases - PLATFORM_GBM and DL_OPENGL_ES3.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/waffle/core/wcore_util.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/waffle/core/wcore_util.c b/src/waffle/core/wcore_util.c
index 1cd5825..2276dde 100644
--- a/src/waffle/core/wcore_util.c
+++ b/src/waffle/core/wcore_util.c
@@ -60,6 +60,7 @@ wcore_enum_to_string(int32_t e)
         CASE(WAFFLE_PLATFORM_GLX);
         CASE(WAFFLE_PLATFORM_WAYLAND);
         CASE(WAFFLE_PLATFORM_X11_EGL);
+        CASE(WAFFLE_PLATFORM_GBM);
         CASE(WAFFLE_CONTEXT_API);
         CASE(WAFFLE_CONTEXT_OPENGL);
         CASE(WAFFLE_CONTEXT_OPENGL_ES1);
@@ -85,6 +86,7 @@ wcore_enum_to_string(int32_t e)
         CASE(WAFFLE_DL_OPENGL);
         CASE(WAFFLE_DL_OPENGL_ES1);
         CASE(WAFFLE_DL_OPENGL_ES2);
+        CASE(WAFFLE_DL_OPENGL_ES3);
 
         default: return NULL;
 
-- 
1.9.3



More information about the waffle mailing list