better support for gles2

This commit is contained in:
Konstantin Käfer
2014-03-05 16:58:46 +01:00
parent b97a9778ea
commit 69a5c0e15f
4 changed files with 24 additions and 6 deletions

View File

@@ -57,6 +57,7 @@ void Map::resize(uint32_t width, uint32_t height, uint32_t fb_width, uint32_t fb
transform.fb_width = fb_width;
transform.fb_height = fb_height;
transform.pixelRatio = pixel_ratio;
painter.resize(fb_width, fb_height);
update();
}