src/video/winrt/SDL_winrtvideo.cpp
changeset 8582 c3e9a2b93517
parent 8579 ee7126c459d0
child 8600 092802455aed
     1.1 --- a/src/video/winrt/SDL_winrtvideo.cpp	Tue Mar 04 19:49:11 2014 -0500
     1.2 +++ b/src/video/winrt/SDL_winrtvideo.cpp	Sun Mar 09 11:06:11 2014 -0700
     1.3 @@ -113,14 +113,14 @@
     1.4      device->PumpEvents = WINRT_PumpEvents;
     1.5      device->GetWindowWMInfo = WINRT_GetWindowWMInfo;
     1.6  #ifdef SDL_VIDEO_OPENGL_EGL
     1.7 -    device->GL_LoadLibrary = WINRT_GLES_LoadLibrary;
     1.8 -    device->GL_GetProcAddress = WINRT_GLES_GetProcAddress;
     1.9 -    device->GL_UnloadLibrary = WINRT_GLES_UnloadLibrary;
    1.10 -    device->GL_CreateContext = WINRT_GLES_CreateContext;
    1.11 -    device->GL_MakeCurrent = WINRT_GLES_MakeCurrent;
    1.12 -    device->GL_SetSwapInterval = WINRT_GLES_SetSwapInterval;
    1.13 -    device->GL_GetSwapInterval = WINRT_GLES_GetSwapInterval;
    1.14 -    device->GL_SwapWindow = WINRT_GLES_SwapWindow;
    1.15 +    device->GL_LoadLibrary = WINRT_GLES_LoadLibrary;
    1.16 +    device->GL_GetProcAddress = WINRT_GLES_GetProcAddress;
    1.17 +    device->GL_UnloadLibrary = WINRT_GLES_UnloadLibrary;
    1.18 +    device->GL_CreateContext = WINRT_GLES_CreateContext;
    1.19 +    device->GL_MakeCurrent = WINRT_GLES_MakeCurrent;
    1.20 +    device->GL_SetSwapInterval = WINRT_GLES_SetSwapInterval;
    1.21 +    device->GL_GetSwapInterval = WINRT_GLES_GetSwapInterval;
    1.22 +    device->GL_SwapWindow = WINRT_GLES_SwapWindow;
    1.23      device->GL_DeleteContext = WINRT_GLES_DeleteContext;
    1.24  #endif
    1.25      device->free = WINRT_DeleteDevice;
    1.26 @@ -351,7 +351,7 @@
    1.27      /* For now, treat WinRT apps as if they always have focus.
    1.28         TODO, WinRT: try tracking keyboard and mouse focus state with respect to snapped apps
    1.29       */
    1.30 -    SDL_SetMouseFocus(window);
    1.31 +    SDL_SetMouseFocus(window);
    1.32      SDL_SetKeyboardFocus(window);
    1.33   
    1.34      /* Make sure the WinRT app's IFramworkView can post events on