[Scummvm-cvs-logs] scummvm master -> c382e179084d52656de7379822d89a5fe97ca988
dreammaster
dreammaster at scummvm.org
Mon Mar 21 01:53:01 CET 2016
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c382e17908 GRAPHICS: Fix create call in ManagedSurface constructor
Commit: c382e179084d52656de7379822d89a5fe97ca988
https://github.com/scummvm/scummvm/commit/c382e179084d52656de7379822d89a5fe97ca988
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-03-20T20:53:01-04:00
Commit Message:
GRAPHICS: Fix create call in ManagedSurface constructor
Changed paths:
graphics/managed_surface.cpp
diff --git a/graphics/managed_surface.cpp b/graphics/managed_surface.cpp
index 9dcea12..273b15d 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) :
More information about the Scummvm-git-logs
mailing list