[Bf-blender-cvs] [bd340a0e1f6] master: Cleanup: GPUMaterial remove unused struct members

Clément Foucault noreply at git.blender.org
Mon May 6 22:33:19 CEST 2019


Commit: bd340a0e1f6ff56958b810cfc23f784ca526a7f6
Author: Clément Foucault
Date:   Sat May 4 15:41:14 2019 +0200
Branches: master
https://developer.blender.org/rBbd340a0e1f6ff56958b810cfc23f784ca526a7f6

Cleanup: GPUMaterial remove unused struct members

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

M	source/blender/gpu/GPU_shader.h

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

diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h
index d174aafacce..9bcf732a35a 100644
--- a/source/blender/gpu/GPU_shader.h
+++ b/source/blender/gpu/GPU_shader.h
@@ -402,10 +402,7 @@ void GPU_shader_free_builtin_shaders(void);
 
 typedef struct GPUVertAttrLayers {
   struct {
-    int type;
-    int glindex;
-    int glinfoindoex;
-    int gltexco;
+    int type; /* CustomDataType */
     int attr_id;
     char name[64]; /* MAX_CUSTOMDATA_LAYER_NAME */
   } layer[GPU_MAX_ATTR];



More information about the Bf-blender-cvs mailing list