Skip to content

Commit

Permalink
WinRT: updated an OpenGL-related code-comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Nov 2, 2014
1 parent 0bcc254 commit 18ecc34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/video/winrt/SDL_winrtvideo.cpp
Expand Up @@ -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];
Expand Down

0 comments on commit 18ecc34

Please sign in to comment.