WinRT: minor error cleanup regarding OpenGL init
authorDavid Ludwig <dludwig@pobox.com>
Thu, 26 Dec 2013 14:21:47 -0500
changeset 8574 bf4991b6a4ec
parent 8573 310a523cd32d
child 8575 97a2e1b1a019
WinRT: minor error cleanup regarding OpenGL init
src/video/winrt/SDL_winrtvideo.cpp
--- a/src/video/winrt/SDL_winrtvideo.cpp	Thu Dec 26 14:13:20 2013 -0500
+++ b/src/video/winrt/SDL_winrtvideo.cpp	Thu Dec 26 14:21:47 2013 -0500
@@ -288,8 +288,8 @@
             _this->egl_data->egl_config,
             nativeWindow, NULL);
         if (data->egl_surface == NULL) {
-            // TODO, WinRT: see if SDL_EGL_CreateSurface, or its callee(s), sets an error message.  If so, attach it to the SDL error.
-            return SDL_SetError("SDL_EGL_CreateSurface failed");
+            // TODO, WinRT: see if eglCreateWindowSurface, or its callee(s), sets an error message.  If so, attach it to the SDL error.
+            return SDL_SetError("eglCreateWindowSurface failed");
         }
     }
 #endif