Commit 336fdf76 authored by Laszlo Agocs's avatar Laszlo Agocs
Browse files

d3d: fix build after shadertools changes

parent fa409908
......@@ -2507,7 +2507,7 @@ static QByteArray compileHlslShaderSource(const QBakedShader &shader, QString *e
QBakedShaderCode dxbc = shader.shader({ QBakedShaderKey::DxbcShader, 50 });
if (!dxbc.shader().isEmpty())
return dxbc.shader;
return dxbc.shader();
QBakedShaderCode hlslSource = shader.shader({ QBakedShaderKey::HlslShader, 50 });
if (hlslSource.shader().isEmpty()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment