From 812ab92877c14c3411a18c447bdfbcaa2506dd16 Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Wed, 9 Feb 2022 16:30:06 +0100 Subject: [PATCH] d3d10: Get rid of a comment. It's become more confusing than helpful I feel like. Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- dlls/d3d10/effect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c index bb105beee6d..78f364d24b6 100644 --- a/dlls/d3d10/effect.c +++ b/dlls/d3d10/effect.c @@ -1278,8 +1278,8 @@ static HRESULT parse_fx10_shader(const char *data, size_t data_size, DWORD offse return E_FAIL; } - /* We got a shader VertexShader vs = NULL, so it is fine to skip this. */ - if (!dxbc_size) return S_OK; + if (!dxbc_size) + return S_OK; if (FAILED(hr = D3D10ReflectShader(ptr, dxbc_size, &v->u.shader.reflection))) return hr;