Skip to content

Commit d6f3a06

Browse files
committed
Fixed issue with volume renderer not updating images.
1 parent ef6e0c8 commit d6f3a06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

RHILib/rhiVolumeRenderPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void VolumeRenderPass::setTexture3D(GLTexture3D& tex)
130130
settings.setFloat( 9, tex.gamma);
131131
settings.setInt (10, tex.cmap);
132132

133-
if (tex.IsModified())
133+
if (tex.IsModified() || !m_tex.texture)
134134
{
135135
C3DImage* im = tex.Get3DImage();
136136
m_tex.create(*im);

0 commit comments

Comments
 (0)