Fix: Build error in lite build without OCIO

This commit is contained in:
Hans Goudey
2024-07-29 14:16:01 -04:00
parent c118d0fa2f
commit 570ac3ebaa

View File

@@ -480,9 +480,9 @@ OCIOColorSpaceConversionShader::OCIOColorSpaceConversionShader(Context &context,
{
/* Create a GPU shader creator and construct it based on the transforms in the default GPU
* processor. */
#if defined(WITH_OCIO)
shader_creator_ = GPUShaderCreator::Create(context.get_precision());
#if defined(WITH_OCIO)
/* Get a GPU processor that transforms the source color space to the target color space. */
try {
OCIO::ConstConfigRcPtr config = OCIO::GetCurrentConfig();