projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
snv ignore version.h, add includes for gcc 4.3.3.
[supertux.git]
/
src
/
video
/
sdl_lightmap.cpp
diff --git
a/src/video/sdl_lightmap.cpp
b/src/video/sdl_lightmap.cpp
index
51e13b9
..
595da53
100644
(file)
--- 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;
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;
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;
if (transform == 0) {
std::cerr << "Warning: Tried to draw NULL surface, skipped draw" << std::endl;
return;
- }
+ }
int ox, oy;
if (effect == HORIZONTAL_FLIP)
int ox, oy;
if (effect == HORIZONTAL_FLIP)