GLK: Add picture scaling

This commit is contained in:
Paul Gilbert 2018-11-18 21:31:58 -08:00 committed by Paul Gilbert
parent bd86fd7bbf
commit 5a05140ac3
4 changed files with 29 additions and 13 deletions

View file

@ -286,7 +286,7 @@ glui32 TextBufferWindow::drawPicture(glui32 image, glui32 align, glui32 scaled,
if (scaled) {
Picture *tmp;
tmp = pic->scale(width, height);
tmp = g_vm->_pictures->scale(pic, width, height);
pic = tmp;
}