[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r2934 - branches/pingus_sdl/src/worldobjs
From: |
nehalmistry |
Subject: |
[Pingus-CVS] r2934 - branches/pingus_sdl/src/worldobjs |
Date: |
Wed, 15 Aug 2007 20:38:24 +0200 |
Author: nehalmistry
Date: 2007-08-15 20:38:21 +0200 (Wed, 15 Aug 2007)
New Revision: 2934
Modified:
branches/pingus_sdl/src/worldobjs/surface_background.cpp
Log:
fix bg color fill with stretched background
Modified: branches/pingus_sdl/src/worldobjs/surface_background.cpp
===================================================================
--- branches/pingus_sdl/src/worldobjs/surface_background.cpp 2007-08-15
16:59:58 UTC (rev 2933)
+++ branches/pingus_sdl/src/worldobjs/surface_background.cpp 2007-08-15
18:38:21 UTC (rev 2934)
@@ -63,7 +63,6 @@
Timer timer("Background creation");
bg_surface = Resource::load_sprite(desc);
- bg_surface.fill(color);
// Scaling Code
if (stretch_x && stretch_y)
@@ -95,6 +94,8 @@
}
}
+ bg_surface.fill(color);
+
timer.stop();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r2934 - branches/pingus_sdl/src/worldobjs,
nehalmistry <=