src/video/vivante/SDL_vivanteopengles.c
changeset 11175 cbc6a8a5b701
parent 10737 3406a0f8b041
child 11811 5d94cb6b24d3
equal deleted inserted replaced
11174:3767cdd2d64b 11175:cbc6a8a5b701
    32 {
    32 {
    33     SDL_DisplayData *displaydata;
    33     SDL_DisplayData *displaydata;
    34 
    34 
    35     displaydata = SDL_GetDisplayDriverData(0);
    35     displaydata = SDL_GetDisplayDriverData(0);
    36 
    36 
    37     return SDL_EGL_LoadLibrary(_this, path, displaydata->native_display);
    37     return SDL_EGL_LoadLibrary(_this, path, displaydata->native_display, 0);
    38 }
    38 }
    39 
    39 
    40 SDL_EGL_CreateContext_impl(VIVANTE)
    40 SDL_EGL_CreateContext_impl(VIVANTE)
    41 SDL_EGL_SwapWindow_impl(VIVANTE)
    41 SDL_EGL_SwapWindow_impl(VIVANTE)
    42 SDL_EGL_MakeCurrent_impl(VIVANTE)
    42 SDL_EGL_MakeCurrent_impl(VIVANTE)