fix: compilation errors

This commit is contained in:
Mike Solar
2025-07-13 14:37:53 +08:00
parent d247f5e683
commit 203a280d8e
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -241,8 +241,8 @@ bool Renderer::GetColorContext(const ColorTransformJob &color_job, Renderer::Col
unsigned int width = 0, height = 0;
OCIO::GpuShaderDesc::TextureType channel = OCIO::GpuShaderDesc::TEXTURE_RGB_CHANNEL;
OCIO::Interpolation interpolation = OCIO::INTERP_LINEAR;
shader_desc->getTexture(i, tex_name, sampler_name, width, height, channel, interpolation);
OCIO::GpuShaderDesc::TextureDimensions dimensions=OCIO::GpuShaderDesc::TEXTURE_2D;
shader_desc->getTexture(i, tex_name, sampler_name, width, height, channel, dimensions, interpolation);
if (!tex_name || !*tex_name
|| !sampler_name || !*sampler_name