Files
ResInsight/Fwk
Magne Sjaastad 71090bdc18 Skip texture binding when texture setup has failed
RenderStateTextureBindings::setupTextures() ignores the return value of
Texture::setupTexture(). When setup fails, the texture is deleted and left
without a valid OpenGL id, but applyOpenGL() still calls Texture::bind(),
where CVF_ASSERT on the id aborts the application.

Skip bindings without a valid texture id and log a render error instead.
2026-08-19 07:26:27 +02:00
..