src/video/vgl/SDL_vglvideo.c
changeset 2735 204be4fc2726
parent 1895 c121d94672cb
child 2859 99210400e8b9
equal deleted inserted replaced
2734:dd25eabe441c 2735:204be4fc2726
   407 static int
   407 static int
   408 VGL_AllocHWSurface(_THIS, SDL_Surface * surface)
   408 VGL_AllocHWSurface(_THIS, SDL_Surface * surface)
   409 {
   409 {
   410     return -1;
   410     return -1;
   411 }
   411 }
       
   412 
   412 static void
   413 static void
   413 VGL_FreeHWSurface(_THIS, SDL_Surface * surface)
   414 VGL_FreeHWSurface(_THIS, SDL_Surface * surface)
   414 {
   415 {
   415     return;
   416     return;
   416 }
   417 }
   422     if (surface == SDL_VideoSurface) {
   423     if (surface == SDL_VideoSurface) {
   423         SDL_mutexP(hw_lock);
   424         SDL_mutexP(hw_lock);
   424     }
   425     }
   425     return 0;
   426     return 0;
   426 }
   427 }
       
   428 
   427 static void
   429 static void
   428 VGL_UnlockHWSurface(_THIS, SDL_Surface * surface)
   430 VGL_UnlockHWSurface(_THIS, SDL_Surface * surface)
   429 {
   431 {
   430     if (surface == SDL_VideoSurface) {
   432     if (surface == SDL_VideoSurface) {
   431         SDL_mutexV(hw_lock);
   433         SDL_mutexV(hw_lock);