mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-13 23:28:16 +03:00
vrclient: Fix segfault on NULL texture handles
This fixes a crash on startup for Assetto Corsa Competizione (805550)
This commit is contained in:
parent
c27354dac6
commit
ed6a644fc3
@ -908,6 +908,11 @@ EVRCompositorError ivrcompositor_submit(
|
||||
{
|
||||
TRACE("D3D11\n");
|
||||
|
||||
if (!texture->handle) {
|
||||
WARN("No D3D11 texture %p.\n", texture);
|
||||
return cpp_func(linux_side, eye, texture, bounds, flags);
|
||||
}
|
||||
|
||||
texture_iface = texture->handle;
|
||||
|
||||
if (SUCCEEDED(hr = texture_iface->lpVtbl->QueryInterface(texture_iface,
|
||||
|
Loading…
x
Reference in New Issue
Block a user