mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 05:06:46 -05:00
Fixed compile error on Win32
--HG-- branch : SDL-1.2
This commit is contained in:
@@ -323,7 +323,11 @@ static void DIB_GenerateMouseMotionEvent(_THIS)
|
||||
extern int posted;
|
||||
|
||||
POINT mouse;
|
||||
if(!GetCursorPos( &mouse ) && !GetLastStylusPos( &mouse )) return;
|
||||
#ifdef _WIN32_WCE
|
||||
if ( !GetCursorPos(&mouse) && !GetLastStylusPos(&mouse) ) return;
|
||||
#else
|
||||
if ( !GetCursorPos(&mouse) ) return;
|
||||
#endif
|
||||
|
||||
if ( mouse_relative ) {
|
||||
POINT center;
|
||||
|
||||
Reference in New Issue
Block a user