[waffle] [PATCH] wgl: s/glX/wgl/ in error message

Emil Velikov emil.l.velikov at gmail.com
Wed Aug 20 07:23:18 PDT 2014


Spotted while running through piglits and the test required OGL 4.0
context on my OGL 3.3 card.

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

diff --git a/src/waffle/wgl/wgl_context.c b/src/waffle/wgl/wgl_context.c
index da783ad..dd45f81 100644
--- a/src/waffle/wgl/wgl_context.c
+++ b/src/waffle/wgl/wgl_context.c
@@ -167,7 +167,7 @@ wgl_context_create_native(struct wgl_config *config,
                                                 attrib_list);
         if (!hglrc) {
             wcore_errorf(WAFFLE_ERROR_UNKNOWN,
-                         "glXCreateContextAttribsARB failed");
+                         "wglCreateContextAttribsARB failed");
             return NULL;
         }
     }
-- 
2.0.2



More information about the waffle mailing list