Implement blits from mega surfaces to regular Bitmaps

This is used in events that take their sprite from a tile
out of the tileset.
This commit is contained in:
Jonas Kulla 2013-09-25 17:07:43 +02:00
parent 0fc6022dd0
commit dff2d79a70
2 changed files with 43 additions and 5 deletions

View file

@ -105,8 +105,8 @@ public:
/* <internal> */
void flush() const;
TEXFBO &getGLTypes();
SDL_Surface *megaSurface();
void ensureNonMega();
SDL_Surface *megaSurface() const;
void ensureNonMega() const;
/* Binds the backing texture and sets the correct
* texture size uniform in shader */