summaryrefslogtreecommitdiff
path: root/android-project
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2011-01-12 16:35:03 -0800
committerSam Lantinga <slouken@libsdl.org>2011-01-12 16:35:03 -0800
commit3d23aa104e1834ca5b3fd10637c8e53e8465918c (patch)
tree14402e9c7b8ecde6b9ae1ed29f2eec66a6571bcd /android-project
parentc938e5b4b2bbf703bbdbec96dd36e7f5483b5f0b (diff)
Whoops, need to pass that SDL format into native code
Diffstat (limited to 'android-project')
-rw-r--r--android-project/src/org/libsdl/app/SDLActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java
index 826f4f5b48..1caa07b677 100644
--- a/android-project/src/org/libsdl/app/SDLActivity.java
+++ b/android-project/src/org/libsdl/app/SDLActivity.java
@@ -269,7 +269,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
sdlFormat = 0x86161804; // SDL_PIXELFORMAT_RGB888
break;
}
- SDLActivity.onNativeResize(width, height, format);
+ SDLActivity.onNativeResize(width, height, sdlFormat);
// Now start up the C app thread
if (mSDLThread == null) {