Qt: Work around flip model swap chains being limited to vsync when parented
Fixes fast forward not working on some systems.
This commit is contained in:
@@ -29,14 +29,15 @@ public:
|
||||
|
||||
virtual QPaintEngine* paintEngine() const override;
|
||||
|
||||
int scaledWindowWidth() const;
|
||||
int scaledWindowHeight() const;
|
||||
|
||||
Q_SIGNALS:
|
||||
void windowResizedEvent(int width, int height);
|
||||
void windowRestoredEvent();
|
||||
|
||||
protected:
|
||||
qreal getDevicePixelRatioFromScreen() const;
|
||||
int getScaledWindowWidth() const;
|
||||
int getScaledWindowHeight() const;
|
||||
qreal devicePixelRatioFromScreen() const;
|
||||
|
||||
virtual bool createImGuiContext();
|
||||
virtual void destroyImGuiContext();
|
||||
|
||||
Reference in New Issue
Block a user