Change from QOpenGLWidget to QWindow
While QOpenGLWidget sounds like a good idea, it has issues which are harder to debug due to how Qt manages the context behind the scenes. We could probably work around any of these issues over time, but its probably easier to do it ourselves with a QWindow directly. Plus using QWindow + createWindowContainer is the easiest to use configuration for Qt + Vulkan so this is probably much better in the long run.
This commit is contained in:
@ -31,7 +31,7 @@ public:
|
||||
/**
|
||||
* Recreate the presentation objects attached to this frame with the new specified width/height
|
||||
*/
|
||||
virtual void ReloadPresentFrame(Frontend::Frame* frame, u32 height, u32 width) = 0;
|
||||
virtual void ReloadPresentFrame(Frontend::Frame* frame, u32 width, u32 height) = 0;
|
||||
|
||||
/**
|
||||
* Render thread calls this to get an available frame to present
|
||||
|
Reference in New Issue
Block a user