Mercurial > sdl-ios-xcode
comparison src/video/SDL_video.c @ 3425:25ccea045c9f
Fixed compile warning
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 08 Nov 2009 04:21:59 +0000 |
parents | 032e64bbb56c |
children | 36cf454ba065 |
comparison
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) { |