X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fvideo%2Fsdl_lightmap.cpp;h=595da5398cff53e5ccd43d914336f852d0256453;hb=c13404a6b6a97ad0d5e1c9f905d7a7e37b797c13;hp=51e13b937908f3c35985bd7b879e0c4a8555338c;hpb=403276e51afda11d0738be756025411d9103a6ed;p=supertux.git diff --git a/src/video/sdl_lightmap.cpp b/src/video/sdl_lightmap.cpp index 51e13b937..595da5398 100644 --- a/src/video/sdl_lightmap.cpp +++ b/src/video/sdl_lightmap.cpp @@ -476,7 +476,7 @@ namespace SDL if (transform == 0) { std::cerr << "Warning: Tried to draw NULL surface, skipped draw" << std::endl; return; - } + } SDL_Rect *src_rect = surface_data->get_src_rect(effect); int dstx = (int) request.pos.x * numerator / denominator; @@ -502,7 +502,7 @@ namespace SDL if (transform == 0) { std::cerr << "Warning: Tried to draw NULL surface, skipped draw" << std::endl; return; - } + } int ox, oy; if (effect == HORIZONTAL_FLIP)