diff options
author | Paul Gilbert | 2017-04-06 07:20:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-04-06 07:20:10 -0400 |
commit | db7b757bacca7a22e683efc72d4a4bbb5d47cb44 (patch) | |
tree | 3065b08343d6ad158fa31c4ececa8e9b72f6d818 | |
parent | 90e97f7069cf05df5da75eade74ac18380622895 (diff) | |
download | scummvm-rg350-db7b757bacca7a22e683efc72d4a4bbb5d47cb44.tar.gz scummvm-rg350-db7b757bacca7a22e683efc72d4a4bbb5d47cb44.tar.bz2 scummvm-rg350-db7b757bacca7a22e683efc72d4a4bbb5d47cb44.zip |
TITANIC: Add missing content for OSVideoSurface::clear
-rw-r--r-- | engines/titanic/star_control/fpose.h | 3 | ||||
-rw-r--r-- | engines/titanic/support/video_surface.cpp | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/titanic/star_control/fpose.h b/engines/titanic/star_control/fpose.h index d1b7e1579f..dbdd832067 100644 --- a/engines/titanic/star_control/fpose.h +++ b/engines/titanic/star_control/fpose.h @@ -27,6 +27,9 @@ namespace Titanic { +/* + * This class combines a position and orientation in 3D space + */ class FPose : public FMatrix { public: FVector _vector; diff --git a/engines/titanic/support/video_surface.cpp b/engines/titanic/support/video_surface.cpp index b886dc094c..4f848342eb 100644 --- a/engines/titanic/support/video_surface.cpp +++ b/engines/titanic/support/video_surface.cpp @@ -527,6 +527,7 @@ void OSVideoSurface::clear() { if (!loadIfReady()) error("Could not load resource"); + _ddSurface->fill(nullptr, 0); } void OSVideoSurface::playMovie(uint flags, CGameObject *obj) { |