@@ -1189,7 +1189,12 @@ public class GpuPlugin extends Plugin implements DrawCallbacks
|
|||||||
// Texture on UI
|
// Texture on UI
|
||||||
drawUi(canvasHeight, canvasWidth);
|
drawUi(canvasHeight, canvasWidth);
|
||||||
|
|
||||||
glDrawable.swapBuffers();
|
try
|
||||||
|
{
|
||||||
|
glDrawable.swapBuffers();
|
||||||
|
}
|
||||||
|
catch (GLException ignored)
|
||||||
|
{ }
|
||||||
|
|
||||||
drawManager.processDrawComplete(this::screenshot);
|
drawManager.processDrawComplete(this::screenshot);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user