#4204 closed defect
WINCE: compilation broken
Reported by: | SF/lostech | Owned by: | SF/knakos |
---|---|---|---|
Priority: | normal | Component: | Port: WinCE |
Version: | Keywords: | build | |
Cc: | Game: |
Description
WINCE compilation is broken.
SVN revision: 38926 Compiler: Cygwin/cegcc
Ticket imported from: #2644574. Ticket imported from: bugs/4204.
Attachments (1)
Change History (6)
by , 16 years ago
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Owner: | set to |
---|
comment:3 by , 16 years ago
Status: | new → closed |
---|
comment:5 by , 6 years ago
Component: | → Port: WinCE |
---|
Note:
See TracTickets
for help on using tickets.
Here you a patch, it is working ok for me...
Index: backends/platform/wince/wince-sdl.cpp
--- backends/platform/wince/wince-sdl.cpp
+++ backends/platform/wince/wince-sdl.cpp (working copy) @@ -1931,7 +1931,7 @@
void OSystem_WINCE3::internDrawMouse() { - if (_mouseDrawn || !_mouseVisible || !_mouseData) + if (!_mouseNeedsRedraw || !_mouseVisible || !_mouseData) return;
int x = _mouseCurState.x - _mouseHotspotX; @@ -2016,15 +2016,15 @@ SDL_UnlockSurface(_overlayVisible ? _overlayscreen : _screen);
// Finally, set the flag to indicate the mouse has been drawn - _mouseDrawn = true; + _mouseNeedsRedraw = false; }
void OSystem_WINCE3::undrawMouse() { assert (_transactionMode == kTransactionNone);
- if (!_mouseDrawn) + if (_mouseNeedsRedraw) return; - _mouseDrawn = false; + _mouseNeedsRedraw = true;
int old_mouse_x = _mouseCurState.x - _mouseHotspotX; int old_mouse_y = _mouseCurState.y - _mouseHotspotY;