From 8f988cdf6a2758c29ca6836d0f3e374c8ff9b3c9 Mon Sep 17 00:00:00 2001 From: Pawel Kolodziejski Date: Sun, 14 Aug 2005 14:30:18 +0000 Subject: [PATCH] now i can do proper screenshot :) --- driver_tinygl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver_tinygl.cpp b/driver_tinygl.cpp index 6e03034b09d..695c56f743d 100644 --- a/driver_tinygl.cpp +++ b/driver_tinygl.cpp @@ -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;