Reverted WMCursor stubs in SDL - SDL is reported to work slower without them
This commit is contained in:
2
build.sh
2
build.sh
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user