mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-21 11:57:44 +00:00
Fix initialization order in VulkanWindow constructor
This commit is contained in:
parent
673a2bb6e0
commit
618c689dfb
1 changed files with 2 additions and 2 deletions
|
@ -24,9 +24,9 @@ class VulkanWindow : public QWindow
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
VulkanWindow(MDLPart *part, Renderer *renderer, QVulkanInstance *instance)
|
VulkanWindow(MDLPart *part, Renderer *renderer, QVulkanInstance *instance)
|
||||||
: part(part)
|
: m_renderer(renderer)
|
||||||
, m_renderer(renderer)
|
|
||||||
, m_instance(instance)
|
, m_instance(instance)
|
||||||
|
, part(part)
|
||||||
{
|
{
|
||||||
setSurfaceType(VulkanSurface);
|
setSurfaceType(VulkanSurface);
|
||||||
setVulkanInstance(instance);
|
setVulkanInstance(instance);
|
||||||
|
|
Loading…
Add table
Reference in a new issue