src/video/SDL_video.c
changeset 3425 25ccea045c9f
parent 3424 032e64bbb56c
child 3427 36cf454ba065
equal deleted inserted replaced
3424:032e64bbb56c 3425:25ccea045c9f
   967 }
   967 }
   968 
   968 
   969 static __inline__ SDL_Renderer *
   969 static __inline__ SDL_Renderer *
   970 SDL_GetCurrentRenderer()
   970 SDL_GetCurrentRenderer()
   971 {
   971 {
   972     SDL_Renderer *renderer;
       
   973 
       
   974     if (!_this) {
   972     if (!_this) {
   975         SDL_UninitializedVideo();
   973         SDL_UninitializedVideo();
   976         return NULL;
   974         return NULL;
   977     }
   975     }
   978     if (!SDL_CurrentRenderer) {
   976     if (!SDL_CurrentRenderer) {