[Scummvm-git-logs] scummvm master -> db7b757bacca7a22e683efc72d4a4bbb5d47cb44

dreammaster dreammaster at scummvm.org
Thu Apr 6 13:20:22 CEST 2017


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:
db7b757bac TITANIC: Add missing content for OSVideoSurface::clear


Commit: db7b757bacca7a22e683efc72d4a4bbb5d47cb44
    https://github.com/scummvm/scummvm/commit/db7b757bacca7a22e683efc72d4a4bbb5d47cb44
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-04-06T07:20:10-04:00

Commit Message:
TITANIC: Add missing content for OSVideoSurface::clear

Changed paths:
    engines/titanic/star_control/fpose.h
    engines/titanic/support/video_surface.cpp


diff --git a/engines/titanic/star_control/fpose.h b/engines/titanic/star_control/fpose.h
index d1b7e15..dbdd832 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 b886dc0..4f84834 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) {





More information about the Scummvm-git-logs mailing list