src/video/psp/SDL_pspgl.c
changeset 10690 23a825f341e6
parent 9998 f67cf37e9cd4
child 10695 e54fce44f677
equal deleted inserted replaced
10689:69d6c1c7a2bf 10690:23a825f341e6
   172 PSP_GL_GetSwapInterval(_THIS)
   172 PSP_GL_GetSwapInterval(_THIS)
   173 {
   173 {
   174     return _this->gl_data->swapinterval;
   174     return _this->gl_data->swapinterval;
   175 }
   175 }
   176 
   176 
   177 void
   177 int
   178 PSP_GL_SwapWindow(_THIS, SDL_Window * window)
   178 PSP_GL_SwapWindow(_THIS, SDL_Window * window)
   179 {
   179 {
   180     eglSwapBuffers(_this->gl_data->display, _this->gl_data->surface);
   180     eglSwapBuffers(_this->gl_data->display, _this->gl_data->surface);
       
   181     return 0;
   181 }
   182 }
   182 
   183 
   183 void
   184 void
   184 PSP_GL_DeleteContext(_THIS, SDL_GLContext context)
   185 PSP_GL_DeleteContext(_THIS, SDL_GLContext context)
   185 {
   186 {