Revert "Fix freeze on disabling GPU plugin"
This reverts commit a2b11f78b2.
This commit is contained in:
@@ -53,6 +53,4 @@ public interface GameEngine
|
|||||||
boolean isClientThread();
|
boolean isClientThread();
|
||||||
|
|
||||||
void resizeCanvas();
|
void resizeCanvas();
|
||||||
|
|
||||||
void setReplaceCanvasNextFrame(boolean replace);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -420,8 +420,6 @@ public class GpuPlugin extends Plugin implements DrawCallbacks
|
|||||||
|
|
||||||
// force main buffer provider rebuild to turn off alpha channel
|
// force main buffer provider rebuild to turn off alpha channel
|
||||||
client.resizeCanvas();
|
client.resizeCanvas();
|
||||||
|
|
||||||
client.setReplaceCanvasNextFrame(true);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user