From 910c1cd0a0ce4a8ac55a089415bd065043223844 Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Thu, 26 Dec 2013 14:21:47 -0500 Subject: [PATCH] WinRT: minor error cleanup regarding OpenGL init --- src/video/winrt/SDL_winrtvideo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/winrt/SDL_winrtvideo.cpp b/src/video/winrt/SDL_winrtvideo.cpp index 900767fe9..ba1fd2f1e 100644 --- a/src/video/winrt/SDL_winrtvideo.cpp +++ b/src/video/winrt/SDL_winrtvideo.cpp @@ -288,8 +288,8 @@ WINRT_CreateWindow(_THIS, SDL_Window * window) _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