src/video/winrt/SDL_winrtopengles.cpp
changeset 11175 cbc6a8a5b701
parent 10740 bb53965b659d
child 11811 5d94cb6b24d3
equal deleted inserted replaced
11174:3767cdd2d64b 11175:cbc6a8a5b701
    56 extern "C" int
    56 extern "C" int
    57 WINRT_GLES_LoadLibrary(_THIS, const char *path)
    57 WINRT_GLES_LoadLibrary(_THIS, const char *path)
    58 {
    58 {
    59     SDL_VideoData *video_data = (SDL_VideoData *)_this->driverdata;
    59     SDL_VideoData *video_data = (SDL_VideoData *)_this->driverdata;
    60 
    60 
    61     if (SDL_EGL_LoadLibrary(_this, path, EGL_DEFAULT_DISPLAY) != 0) {
    61     if (SDL_EGL_LoadLibrary(_this, path, EGL_DEFAULT_DISPLAY, 0) != 0) {
    62         return -1;
    62         return -1;
    63     }
    63     }
    64 
    64 
    65     /* Load ANGLE/WinRT-specific functions */
    65     /* Load ANGLE/WinRT-specific functions */
    66     CreateWinrtEglWindow_Old_Function CreateWinrtEglWindow = (CreateWinrtEglWindow_Old_Function) SDL_LoadFunction(_this->egl_data->egl_dll_handle, "CreateWinrtEglWindow");
    66     CreateWinrtEglWindow_Old_Function CreateWinrtEglWindow = (CreateWinrtEglWindow_Old_Function) SDL_LoadFunction(_this->egl_data->egl_dll_handle, "CreateWinrtEglWindow");