gpu: remove unused lastViewportWidth/Height fields
This commit is contained in:
@@ -235,8 +235,6 @@ public class GpuPlugin extends Plugin implements DrawCallbacks
|
|||||||
*/
|
*/
|
||||||
private int tempUvOffset;
|
private int tempUvOffset;
|
||||||
|
|
||||||
private int lastViewportWidth;
|
|
||||||
private int lastViewportHeight;
|
|
||||||
private int lastCanvasWidth;
|
private int lastCanvasWidth;
|
||||||
private int lastCanvasHeight;
|
private int lastCanvasHeight;
|
||||||
private int lastStretchedCanvasWidth;
|
private int lastStretchedCanvasWidth;
|
||||||
@@ -383,7 +381,7 @@ public class GpuPlugin extends Plugin implements DrawCallbacks
|
|||||||
// force rebuild of main buffer provider to enable alpha channel
|
// force rebuild of main buffer provider to enable alpha channel
|
||||||
client.resizeCanvas();
|
client.resizeCanvas();
|
||||||
|
|
||||||
lastViewportWidth = lastViewportHeight = lastCanvasWidth = lastCanvasHeight = -1;
|
lastCanvasWidth = lastCanvasHeight = -1;
|
||||||
lastStretchedCanvasWidth = lastStretchedCanvasHeight = -1;
|
lastStretchedCanvasWidth = lastStretchedCanvasHeight = -1;
|
||||||
lastAntiAliasingMode = null;
|
lastAntiAliasingMode = null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user