summaryrefslogtreecommitdiffstats
path: root/engine/flatsurface.cpp
diff options
context:
space:
mode:
authorancarola <raffaele.ancarola@epfl.ch>2019-01-22 02:01:43 +0100
committerancarola <raffaele.ancarola@epfl.ch>2019-01-22 02:01:43 +0100
commit35c5c0551edfe786a5d05969df85cef544ebeea6 (patch)
tree4ec3dd0f64e91033b836cdde34687206601d9f1b /engine/flatsurface.cpp
parentFin qui tutto bene (diff)
downloadflatland-35c5c0551edfe786a5d05969df85cef544ebeea6.tar.gz
flatland-35c5c0551edfe786a5d05969df85cef544ebeea6.zip
Soos
Diffstat (limited to 'engine/flatsurface.cpp')
-rw-r--r--engine/flatsurface.cpp4
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;