diff options
Diffstat (limited to 'engines/titanic/direct_draw.cpp')
-rw-r--r-- | engines/titanic/direct_draw.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/titanic/direct_draw.cpp b/engines/titanic/direct_draw.cpp index 17e13610e0..1d0ddab4fb 100644 --- a/engines/titanic/direct_draw.cpp +++ b/engines/titanic/direct_draw.cpp @@ -110,6 +110,15 @@ DirectDrawSurface *DirectDrawManager::createSurface(int w, int h, int surfaceNum /*------------------------------------------------------------------------*/ +void *DirectDrawSurface::lock(const Common::Rect *bounds, int flags) { + assert(w != 0 && h != 0); + return getPixels(); +} + +void DirectDrawSurface::unlock() { + assert(w != 0 && h != 0); +} + void DirectDrawSurface::fill(const Common::Rect *bounds, uint32 color) { Common::Rect tempBounds; |