[cogl/msvc-support] Update cogl-renderer.c regarding check macros



commit a2ae2b2a347426832dfe0d876d52d6d933ccbcf6
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Jul 1 14:06:28 2011 +0800

    Update cogl-renderer.c regarding check macros
    
    The check macro used is COGL_HAS_WIN32_SUPPORT, not COGL_HAS_WGL_SUPPORT

 cogl/cogl-renderer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl-renderer.c b/cogl/cogl-renderer.c
index 026d4ab..ac5f2a8 100644
--- a/cogl/cogl-renderer.c
+++ b/cogl/cogl-renderer.c
@@ -46,7 +46,7 @@
 #ifdef COGL_HAS_GLX_SUPPORT
 extern const CoglWinsysVtable *_cogl_winsys_glx_get_vtable (void);
 #endif
-#ifdef COGL_HAS_WGL_SUPPORT
+#ifdef COGL_HAS_WIN32_SUPPORT
 extern const CoglWinsysVtable *_cogl_winsys_wgl_get_vtable (void);
 #endif
 
@@ -60,7 +60,7 @@ static CoglWinsysVtableGetter _cogl_winsys_vtable_getters[] =
 #ifdef COGL_HAS_EGL_SUPPORT
   _cogl_winsys_egl_get_vtable,
 #endif
-#ifdef COGL_HAS_WGL_SUPPORT
+#ifdef COGL_HAS_WIN32_SUPPORT
   _cogl_winsys_wgl_get_vtable,
 #endif
   _cogl_winsys_stub_get_vtable,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]