[Bf-blender-cvs] [f430fb74acd] tmp-gpu-shader-descriptor-2: Fix compilation noperspective.

Jeroen Bakker noreply at git.blender.org
Fri Jan 7 08:54:32 CET 2022


Commit: f430fb74acd9c132ed62e0e56dd80c976fec679a
Author: Jeroen Bakker
Date:   Fri Jan 7 08:51:39 2022 +0100
Branches: tmp-gpu-shader-descriptor-2
https://developer.blender.org/rBf430fb74acd9c132ed62e0e56dd80c976fec679a

Fix compilation noperspective.

===================================================================

M	source/blender/gpu/opengl/gl_shader.cc

===================================================================

diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc
index 13af952580d..9bfffc4adc0 100644
--- a/source/blender/gpu/opengl/gl_shader.cc
+++ b/source/blender/gpu/opengl/gl_shader.cc
@@ -83,7 +83,7 @@ static const char *to_string(const Interpolation &interp)
     case Interpolation::FLAT:
       return "flat";
     case Interpolation::NO_PERSPECTIVE:
-      return "no_perspective";
+      return "noperspective";
     default:
       return "unkown";
   }



More information about the Bf-blender-cvs mailing list