diff options
author | Paul Gilbert | 2016-03-20 16:37:19 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-20 16:37:19 -0400 |
commit | 14ba851d32bae17d1cdc7ef9dd05c645611c005d (patch) | |
tree | 507e0a084b81bebfdab0ce7d4409b52f3b073830 /graphics/managed_surface.h | |
parent | 2e5ef7484899df83a403d4b4041f920d932a71c1 (diff) | |
download | scummvm-rg350-14ba851d32bae17d1cdc7ef9dd05c645611c005d.tar.gz scummvm-rg350-14ba851d32bae17d1cdc7ef9dd05c645611c005d.tar.bz2 scummvm-rg350-14ba851d32bae17d1cdc7ef9dd05c645611c005d.zip |
GRAPHICS: Fix MangaedSurface pixel casting errors
Diffstat (limited to 'graphics/managed_surface.h')
-rw-r--r-- | graphics/managed_surface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/managed_surface.h b/graphics/managed_surface.h index bd0632a493..8cbd463266 100644 --- a/graphics/managed_surface.h +++ b/graphics/managed_surface.h @@ -89,7 +89,7 @@ public: * this surface will create it's own surface of the same size and copy * the contents from the source surface */ - ManagedSurface(const ManagedSurface &surf); + ManagedSurface(ManagedSurface &surf); /** * Create the managed surface @@ -124,7 +124,7 @@ public: * Reassign one managed surface to another one * Note that if the source has a managed surface, it will be duplicated */ - ManagedSurface &operator=(const ManagedSurface &surf); + ManagedSurface &operator=(ManagedSurface &surf); /** * Returns true if the surface has not yet been allocated |