doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.95k stars 832 forks source link

Fixed GLFW exception at startup #4061

Closed Sanakan8472 closed 3 months ago

Sanakan8472 commented 3 months ago

GlfwWsiDriver::getInstanceExtensions was creating an std::vector with a size argument in the ctor but then used push_back instead of filling the pre-allocated elements, leading to a bunch of nullptr entries at the start that caused an exception later on when accessed.