Fixed a bug which sometimes occured on touch devices.

The bug would prevent the viewport from properly changing size.
This commit is contained in:
samhed 2013-09-10 16:42:55 +02:00
parent 21256e9c6d
commit 359f88a764
2 changed files with 3 additions and 3 deletions

View File

@ -402,7 +402,7 @@ that.resize = function(width, height) {
fb_height = height; fb_height = height;
rescale(conf.scale); rescale(conf.scale);
that.viewportChange(); that.viewportChange(0, 0, width, height);
}; };
that.clear = function() { that.clear = function() {