diff options
| author | Paul Gilbert | 2016-03-20 20:47:25 -0400 |
|---|---|---|
| committer | Paul Gilbert | 2016-03-20 20:47:25 -0400 |
| commit | 9a66bc2e9e3638af940053ac58df36b489b3e345 (patch) | |
| tree | 8f0c0b79fbe014b3650812d509d9ccd47b97e641 /graphics | |
| parent | fbc46ed5b41633c1a8dc6e54591fe4dd028dbc04 (diff) | |
| download | scummvm-rg350-9a66bc2e9e3638af940053ac58df36b489b3e345.tar.gz scummvm-rg350-9a66bc2e9e3638af940053ac58df36b489b3e345.tar.bz2 scummvm-rg350-9a66bc2e9e3638af940053ac58df36b489b3e345.zip | |
TITANIC: More graphics code, clipBounds method
Diffstat (limited to 'graphics')
| -rw-r--r-- | graphics/managed_surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/managed_surface.cpp b/graphics/managed_surface.cpp index e493ab9f4e..f3d8813f2e 100644 --- a/graphics/managed_surface.cpp +++ b/graphics/managed_surface.cpp @@ -48,7 +48,7 @@ ManagedSurface::ManagedSurface(int width, int height) : ManagedSurface::ManagedSurface(int width, int height, const Graphics::PixelFormat &pixelFormat) : w(_innerSurface.w), h(_innerSurface.h), pitch(_innerSurface.pitch), format(_innerSurface.format), _disposeAfterUse(DisposeAfterUse::NO), _owner(nullptr) { - create(width, height, format); + create(width, height, pixelFormat); } ManagedSurface::ManagedSurface(ManagedSurface &surf, const Common::Rect &bounds) : |
