ANDROID: Remove commented workarounds for Nexus 1

Reports suggest that its working and not required
This commit is contained in:
dhewg 2011-04-05 15:14:58 +02:00
parent 4440aa4310
commit 0adfe72966

View File

@ -617,10 +617,6 @@ void OSystem_Android::clearOverlay() {
GLTHREADCHECK;
_overlay_texture->fillBuffer(0);
// breaks more than it fixes, disabled for now
// Shouldn't need this, but works around a 'blank screen' bug on Nexus1
//updateScreen();
}
void OSystem_Android::grabOverlay(OverlayColor *buf, int pitch) {
@ -650,9 +646,6 @@ void OSystem_Android::copyRectToOverlay(const OverlayColor *buf, int pitch,
// This 'pitch' is pixels not bytes
_overlay_texture->updateBuffer(x, y, w, h, buf, pitch * sizeof(buf[0]));
// Shouldn't need this, but works around a 'blank screen' bug on Nexus1?
//updateScreen();
}
int16 OSystem_Android::getOverlayHeight() {