From a1573ce45c7af60ff5222ead8b516add60813331 Mon Sep 17 00:00:00 2001 From: pelya Date: Thu, 10 Feb 2011 11:25:09 +0000 Subject: [PATCH] Updated readme, small bugfix --- bugs.txt | 4 ++++ .../jni/sdl-1.3/src/video/android/SDL_touchscreenkeyboard.c | 2 +- todo.txt | 6 +----- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bugs.txt b/bugs.txt index a055d5bcb..150163955 100644 --- a/bugs.txt +++ b/bugs.txt @@ -1,6 +1,10 @@ Known bugs ========== +- With 4:3 screen aspect ratio the on-screen buttons are not shown on the inactive part of screen. + +- Calling SDL_SetVideoMode() with SDL 1.3 several times makes it crash. + - Split Settings.java into several files - There's no double-buffered SW mode, only single-buffered. diff --git a/project/jni/sdl-1.3/src/video/android/SDL_touchscreenkeyboard.c b/project/jni/sdl-1.3/src/video/android/SDL_touchscreenkeyboard.c index 73674d012..df78c7c63 100644 --- a/project/jni/sdl-1.3/src/video/android/SDL_touchscreenkeyboard.c +++ b/project/jni/sdl-1.3/src/video/android/SDL_touchscreenkeyboard.c @@ -674,7 +674,7 @@ static int setupScreenKeyboardButton( int buttonID, Uint8 * charBuf ) glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, texture_w, texture_h, 0, GL_RGBA, format ? GL_UNSIGNED_SHORT_4_4_4_4 : GL_UNSIGNED_SHORT_5_5_5_1, NULL); - //glPixelStorei(GL_UNPACK_ALIGNMENT, 1); + glPixelStorei(GL_UNPACK_ALIGNMENT, 1); glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, w, h, GL_RGBA, format ? GL_UNSIGNED_SHORT_4_4_4_4 : GL_UNSIGNED_SHORT_5_5_5_1, diff --git a/todo.txt b/todo.txt index 65b8cc81c..7602e97f3 100644 --- a/todo.txt +++ b/todo.txt @@ -11,10 +11,6 @@ Bugs to fix - Show/hide screen controls with longpress on Text Edit button. -- With 4:3 screen aspect ratio the on-screen buttons are not shown on the inactive part of screen. - -- Calling SDL_SetVideoMode() with SDL 1.3 several times makes it crash. - -- Support of libjnigraphics (it will disable on-screen keyboard) +- Support of libjnigraphics (it will disable on-screen keyboard, only SW SDL screen surface supported) And that's all, I won't be doing any more development or fix other bugs (see bugs.txt for details).