Commit 18ecc34dfd78a513d4a9e670296110212025a4f5

David Ludwig 2014-11-02T09:02:01

WinRT: updated an OpenGL-related code-comment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/video/winrt/SDL_winrtvideo.cpp b/src/video/winrt/SDL_winrtvideo.cpp
index b58c9e2..27120dc 100644
--- a/src/video/winrt/SDL_winrtvideo.cpp
+++ b/src/video/winrt/SDL_winrtvideo.cpp
@@ -318,9 +318,9 @@ WINRT_CreateWindow(_THIS, SDL_Window * window)
         SDL_VideoData * video_data = (SDL_VideoData *)_this->driverdata;
 
         /* Call SDL_EGL_ChooseConfig and eglCreateWindowSurface directly,
-         * rather than via SDL_EGL_CreateSurface, as ANGLE/WinRT requires
-         * a C++ object, ComPtr<IUnknown>, to be passed into
-         * eglCreateWindowSurface.
+         * rather than via SDL_EGL_CreateSurface, as older versions of
+         * ANGLE/WinRT may require that a C++ object, ComPtr<IUnknown>,
+         * be passed into eglCreateWindowSurface.
          */
         if (SDL_EGL_ChooseConfig(_this) != 0) {
             char buf[512];