[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3894 - trunk/pingus/src
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r3894 - trunk/pingus/src |
Date: |
Tue, 22 Jul 2008 06:14:15 +0200 |
Author: grumbel
Date: 2008-07-22 06:14:12 +0200 (Tue, 22 Jul 2008)
New Revision: 3894
Modified:
trunk/pingus/src/blitter.cpp
trunk/pingus/src/blitter.hpp
Log:
Removed unused member function
Modified: trunk/pingus/src/blitter.cpp
===================================================================
--- trunk/pingus/src/blitter.cpp 2008-07-22 02:44:55 UTC (rev 3893)
+++ trunk/pingus/src/blitter.cpp 2008-07-22 04:14:12 UTC (rev 3894)
@@ -139,12 +139,6 @@
return new_surface;
}
-Surface
-Blitter::scale_surface_to_canvas(Surface provider, int width, int height)
-{
- return Surface(Blitter::scale_surface(provider.get_surface(), width,
height));
-}
-
/** Flip a surface horizontal */
Surface
Blitter::flip_horizontal (Surface prov)
Modified: trunk/pingus/src/blitter.hpp
===================================================================
--- trunk/pingus/src/blitter.hpp 2008-07-22 02:44:55 UTC (rev 3893)
+++ trunk/pingus/src/blitter.hpp 2008-07-22 04:14:12 UTC (rev 3894)
@@ -61,8 +61,6 @@
@return A newly created surface, the caller is responsible to delete it.
*/
static SDL_Surface* scale_surface(SDL_Surface* surface, int width, int
height);
- static Surface scale_surface_to_canvas(Surface provider, int width, int
height);
-
private:
Blitter (const Blitter&);
Blitter& operator= (const Blitter&);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3894 - trunk/pingus/src,
grumbel at BerliOS <=