summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-08-04 12:53:41 +0000
committertruelight <truelight@openttd.org>2007-08-04 12:53:41 +0000
commit424757c078410041cce35a8678b59b7a56c47ccb (patch)
tree95e47824c2caa1c36c3ad2d37010fe7f16650f26 /src/gfx.cpp
parentcb9d0c69d1fac53c479b678741f82df084b1b5ba (diff)
downloadopenttd-424757c078410041cce35a8678b59b7a56c47ccb.tar.xz
(svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit more
-Fix: WinCE doesn't support console -Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index faf011bae..c915b38f5 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -840,6 +840,11 @@ void UndrawMouseCursor()
void DrawMouseCursor()
{
+#if defined(WINCE)
+ /* Don't ever draw the mouse for WinCE, as we work with a stylus */
+ return;
+#endif
+
Blitter *blitter = BlitterFactoryBase::GetCurrentBlitter();
int x;
int y;