mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
WinRT: updated an OpenGL-related code-comment
This commit is contained in:
parent
0bcc254e4f
commit
18ecc34dfd
@ -318,9 +318,9 @@ WINRT_CreateWindow(_THIS, SDL_Window * window)
|
|||||||
SDL_VideoData * video_data = (SDL_VideoData *)_this->driverdata;
|
SDL_VideoData * video_data = (SDL_VideoData *)_this->driverdata;
|
||||||
|
|
||||||
/* Call SDL_EGL_ChooseConfig and eglCreateWindowSurface directly,
|
/* Call SDL_EGL_ChooseConfig and eglCreateWindowSurface directly,
|
||||||
* rather than via SDL_EGL_CreateSurface, as ANGLE/WinRT requires
|
* rather than via SDL_EGL_CreateSurface, as older versions of
|
||||||
* a C++ object, ComPtr<IUnknown>, to be passed into
|
* ANGLE/WinRT may require that a C++ object, ComPtr<IUnknown>,
|
||||||
* eglCreateWindowSurface.
|
* be passed into eglCreateWindowSurface.
|
||||||
*/
|
*/
|
||||||
if (SDL_EGL_ChooseConfig(_this) != 0) {
|
if (SDL_EGL_ChooseConfig(_this) != 0) {
|
||||||
char buf[512];
|
char buf[512];
|
||||||
|
Loading…
Reference in New Issue
Block a user