Mercurial > fife-parpg
diff engine/core/video/sdl/sdlimage.h @ 417:14e8087cde2c
Fixed the problem where the opengl renderer was leaving traces on the screen after closing maps in the editor. [t:392]
Removed a member variable in SDLImage that was not being used.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Wed, 03 Feb 2010 20:04:39 +0000 |
parents | 90005975cdbb |
children | ad7969d9460b |
line wrap: on
line diff
--- a/engine/core/video/sdl/sdlimage.h Wed Feb 03 18:59:34 2010 +0000 +++ b/engine/core/video/sdl/sdlimage.h Wed Feb 03 20:04:39 2010 +0000 @@ -50,26 +50,24 @@ protected: void setClipArea(const Rect& cliparea, bool clear); - + private: // Call this before rendering void finalize(); - + /** SDL Alpha Optimizer * This tries to convert an image with a fake alpha channel * to an RGB image when the channel can be reasonably be replaced * by an colorkey. */ SDL_Surface* optimize(SDL_Surface* surface); - + void resetSdlimage(); - + // SDLSurface used to create the SDLImage. Uint8 m_last_alpha; // Is the surface already optimized for rendering bool m_finalized; - // Wether to try to optimize alpha out ... - bool m_optimize_alpha; }; }