]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/light_trace.c
mark two shader checks nullable
[xonotic/netradiant.git] / tools / quake3 / q3map2 / light_trace.c
index a328f4666bc619b1708178da9ea47189b6ba53b5..d0b72d35968ef58d06c7afc82a0630c2a64800fe 100644 (file)
@@ -1094,7 +1094,7 @@ static void PopulateWithPicoModel( int castShadows, picoModel_t *model, m4x4_t t
                shader = PicoGetSurfaceShader( surface );
                if( shader == NULL )
                        continue;
-               ti.si = ShaderInfoForShader( PicoGetShaderName( shader ) );
+               ti.si = ShaderInfoForShaderNull( PicoGetShaderName( shader ) );
                if( ti.si == NULL )
                        continue;