gpu: queue fbo reset on startup too
Startup races with stretch mode plugin startup and clientui startup, so starting with stretched mode on doesn't reliably work. Just reset a few frames after startup to be sure.
This commit is contained in:
@@ -473,6 +473,7 @@ public class GpuPlugin extends Plugin implements DrawCallbacks
|
||||
if (OSType.getOSType() == OSType.MacOS)
|
||||
{
|
||||
SwingUtilities.invokeAndWait(() -> ((Component) client).addComponentListener(resizeListener));
|
||||
needsReset = 5; // plugin startup races with ClientUI positioning, so do a reset in a little bit
|
||||
}
|
||||
}
|
||||
catch (Throwable e)
|
||||
|
||||
Reference in New Issue
Block a user