Reverted WMCursor stubs in SDL - SDL is reported to work slower without them

This commit is contained in:
pelya
2010-11-18 22:16:33 +02:00
parent 0990e9f49e
commit 2113c802da
2 changed files with 4 additions and 4 deletions

View File

@@ -15,5 +15,5 @@ if ( grep "package $AppFullName;" project/src/Globals.java > /dev/null && [ "`re
touch project/src/Globals.java
fi
cd project && env PATH=$NDKBUILDPATH nice -n10 ndk-build -j2 V=1 && ant `test -z "-$1" && echo release || echo debug` && cd bin && adb install -r DemoActivity-debug.apk
cd project && env PATH=$NDKBUILDPATH nice -n10 ndk-build -j2 V=1 && ant `test -n "-$1" && echo release || echo debug` && cd bin && adb install -r DemoActivity-debug.apk

View File

@@ -175,9 +175,9 @@ static SDL_VideoDevice *ANDROID_CreateDevice(int devindex)
device->free = ANDROID_DeleteDevice;
// Stubs
//device->FreeWMCursor = ANDROID_FreeWMCursor;
//device->CreateWMCursor = ANDROID_CreateWMCursor;
//device->ShowWMCursor = ANDROID_ShowWMCursor;
device->FreeWMCursor = ANDROID_FreeWMCursor;
device->CreateWMCursor = ANDROID_CreateWMCursor;
device->ShowWMCursor = ANDROID_ShowWMCursor;
//device->WarpWMCursor = ANDROID_WarpWMCursor;
//device->MoveWMCursor = ANDROID_MoveWMCursor;