v0.7.5b: fixed texture errors on old android versions
This commit is contained in:
@@ -110,7 +110,9 @@ public class Game implements ApplicationListener {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void resize(int width, int height) {
|
public void resize(int width, int height) {
|
||||||
Gdx.gl.glViewport(0, 0, width, height);
|
Blending.useDefault();
|
||||||
|
TextureCache.reload();
|
||||||
|
Vertexbuffer.refreshAllBuffers();
|
||||||
|
|
||||||
if (height != Game.height || width != Game.width) {
|
if (height != Game.height || width != Game.width) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user