[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r2937 - branches/pingus_sdl/src
From: |
nehalmistry |
Subject: |
[Pingus-CVS] r2937 - branches/pingus_sdl/src |
Date: |
Wed, 15 Aug 2007 21:34:50 +0200 |
Author: nehalmistry
Date: 2007-08-15 21:34:34 +0200 (Wed, 15 Aug 2007)
New Revision: 2937
Modified:
branches/pingus_sdl/src/sprite.cpp
Log:
fix error from last commit
Modified: branches/pingus_sdl/src/sprite.cpp
===================================================================
--- branches/pingus_sdl/src/sprite.cpp 2007-08-15 19:28:44 UTC (rev 2936)
+++ branches/pingus_sdl/src/sprite.cpp 2007-08-15 19:34:34 UTC (rev 2937)
@@ -386,9 +386,8 @@
);
SDL_FillRect(new_surface, NULL,
SDL_MapRGBA(new_surface->format, color.r, color.g, color.b, color.a));
SDL_BlitSurface(new_surface, NULL, this->get_surface(), NULL);
+ SDL_FreeSurface(new_surface);
}
-
- SDL_FreeSurface(new_surface);
}
/* EOF */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r2937 - branches/pingus_sdl/src,
nehalmistry <=