ANDROID: implement OSystem methods and add support for soft rendering

This commit is contained in:
Tobias Gunkel
2012-04-30 15:08:14 +02:00
parent 8b784de736
commit c501fa8c58
3 changed files with 179 additions and 106 deletions
+5
View File
@@ -119,7 +119,9 @@ OSystem_Android::OSystem_Android(int audio_sample_rate, int audio_buffer_size) :
_htc_fail(false),
_force_redraw(false),
_game_texture(0),
_game_pbuf(),
_overlay_texture(0),
_opengl(false),
_mouse_texture(0),
_mouse_texture_palette(0),
_mouse_texture_rgb(0),
@@ -406,6 +408,9 @@ bool OSystem_Android::hasFeature(Feature f) {
f == kFeatureAspectRatioCorrection ||
f == kFeatureCursorPalette ||
f == kFeatureVirtualKeyboard ||
#ifdef USE_OPENGL
f == kFeatureOpenGL ||
#endif
f == kFeatureOverlaySupportsAlpha);
}