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:
parent
0fc6022dd0
commit
dff2d79a70
2 changed files with 43 additions and 5 deletions
src
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue