From f4fd9e8b504a2e49fbd67d288e591377c466760c Mon Sep 17 00:00:00 2001 From: dhewg Date: Thu, 17 Mar 2011 18:56:22 +0100 Subject: ANDROID: Fix cursor visibility --- backends/platform/android/texture.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backends/platform/android/texture.h') diff --git a/backends/platform/android/texture.h b/backends/platform/android/texture.h index 64489da0a4..925418721b 100644 --- a/backends/platform/android/texture.h +++ b/backends/platform/android/texture.h @@ -98,6 +98,10 @@ public: return _surface.pitch; } + inline bool isEmpty() const { + return _surface.w == 0 || _surface.h == 0; + } + inline const Graphics::Surface *surface_const() const { return &_surface; } -- cgit v1.2.3