aboutsummaryrefslogtreecommitdiff
path: root/backends/vkeybd
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-17 21:14:19 +0200
committerJohannes Schickel2011-04-17 21:14:19 +0200
commit877004dbdd967d2f57d494b1aaa1cb55aae0fd52 (patch)
treefe3630f18560b876300c42d50b2993b7b8da32da /backends/vkeybd
parent3fd919060ca6bbf896680f3548bfaac020900d42 (diff)
downloadscummvm-rg350-877004dbdd967d2f57d494b1aaa1cb55aae0fd52.tar.gz
scummvm-rg350-877004dbdd967d2f57d494b1aaa1cb55aae0fd52.tar.bz2
scummvm-rg350-877004dbdd967d2f57d494b1aaa1cb55aae0fd52.zip
BACKENDS: Adapt various backends code to set up Surface::format correctly.
Note that this change is not tested at all (not even compile wise!).
Diffstat (limited to 'backends/vkeybd')
-rw-r--r--backends/vkeybd/virtual-keyboard-gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/vkeybd/virtual-keyboard-gui.cpp b/backends/vkeybd/virtual-keyboard-gui.cpp
index 4670ea5006..9ffda6e3a7 100644
--- a/backends/vkeybd/virtual-keyboard-gui.cpp
+++ b/backends/vkeybd/virtual-keyboard-gui.cpp
@@ -36,7 +36,7 @@
namespace Common {
static void blit(Graphics::Surface *surf_dst, Graphics::Surface *surf_src, int16 x, int16 y, OverlayColor transparent) {
- if (surf_dst->bytesPerPixel != sizeof(OverlayColor) || surf_src->bytesPerPixel != sizeof(OverlayColor))
+ if (surf_dst->format.bytesPerPixel != sizeof(OverlayColor) || surf_src->format.bytesPerPixel != sizeof(OverlayColor))
return;
const OverlayColor *src = (const OverlayColor *)surf_src->pixels;