now i can do proper screenshot :)

This commit is contained in:
Pawel Kolodziejski 2005-08-14 14:30:18 +00:00
parent dd5154e5db
commit 8f988cdf6a

View file

@ -474,7 +474,7 @@ void DriverTinyGL::destroyTextBitmap(TextObjectHandle *handle) {
Bitmap *DriverTinyGL::getScreenshot(int w, int h) {
uint16 *buffer = new uint16[w * h];
uint16 *src = (uint16 *)_zb->pbuf;
uint16 *src = (uint16 *)_storedDisplay;
assert(buffer);
float step_x = 640.0 / w;