diff options
author | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-22 02:01:43 +0100 |
---|---|---|
committer | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-22 02:01:43 +0100 |
commit | 35c5c0551edfe786a5d05969df85cef544ebeea6 (patch) | |
tree | 4ec3dd0f64e91033b836cdde34687206601d9f1b /engine/flatsurface.cpp | |
parent | Fin qui tutto bene (diff) | |
download | flatland-35c5c0551edfe786a5d05969df85cef544ebeea6.tar.gz flatland-35c5c0551edfe786a5d05969df85cef544ebeea6.zip |
Soos
Diffstat (limited to '')
-rw-r--r-- | engine/flatsurface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/flatsurface.cpp b/engine/flatsurface.cpp index 7b1ee5a..b3291d6 100644 --- a/engine/flatsurface.cpp +++ b/engine/flatsurface.cpp @@ -4,7 +4,7 @@ using namespace std; -FlatSurface::FlatSurface(const char *filename, Uint32 format, SDL_Surface *parent) +FlatSurface::FlatSurface(const char *filename, uint32_t format, SDL_Surface *parent) : flat::core::object(), parent(parent), hide(false) { @@ -146,7 +146,7 @@ void FlatSurface::blit() SDL_BlitSurface(surface, viewport, parent, offset); } -SDL_Surface * FlatSurface::loadOptimizedSurface(const char *filename, Uint32 format) +SDL_Surface * FlatSurface::loadOptimizedSurface(const char *filename, uint32_t format) { SDL_Surface * optimized = 0; |