[Bf-blender-cvs] [7aaede920fd] blender2.8: Cleanup: warning
Campbell Barton
noreply at git.blender.org
Sun Jan 28 05:15:06 CET 2018
Commit: 7aaede920fd1376fc06edd45c73403f2084a64bc
Author: Campbell Barton
Date: Sun Jan 28 15:15:32 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB7aaede920fd1376fc06edd45c73403f2084a64bc
Cleanup: warning
===================================================================
M source/blender/editors/uvedit/uvedit_draw.c
===================================================================
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c
index ff803b9f1ba..f882f3ecd65 100644
--- a/source/blender/editors/uvedit/uvedit_draw.c
+++ b/source/blender/editors/uvedit/uvedit_draw.c
@@ -903,7 +903,7 @@ static void draw_uvs(SpaceImage *sima, Scene *scene, ViewLayer *view_layer, Obje
Gwn_VertFormat *format = immVertexFormat();
pos = GWN_vertformat_attr_add(format, "pos", GWN_COMP_F32, 2, GWN_FETCH_FLOAT);
- unsigned int color = GWN_vertformat_attr_add(format, "color", GWN_COMP_U8, 3, GWN_FETCH_INT_TO_FLOAT_UNIT);
+ color = GWN_vertformat_attr_add(format, "color", GWN_COMP_U8, 3, GWN_FETCH_INT_TO_FLOAT_UNIT);
immBindBuiltinProgram(GPU_SHADER_2D_FLAT_COLOR);
More information about the Bf-blender-cvs
mailing list