diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_material.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index 9166c697f8e..f644700fb81 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -923,7 +923,7 @@ static void do_material_tex(GPUShadeInput *shi) mtex= ma->mtex[tex_nr]; tex= mtex->tex; - if(tex==0) continue; + if(tex == NULL) continue; /* which coords */ if(mtex->texco==TEXCO_ORCO) |