diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-12-13 23:03:58 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-12-13 23:03:58 +0300 |
commit | 3b98b442235c8f8108d773fe548b1763eb394dde (patch) | |
tree | dcff3ccf13a373db2985a7ddb8e6ba51a8af5a69 /source/blender/editors | |
parent | fe5929636182b6721743893c9a2efce1193d335e (diff) |
small fix for previous commit
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/screen/area.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 9a04d5e60bc..63c152af6ec 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -223,7 +223,7 @@ static void area_draw_azone_fullscreen(short x1, short y1, short x2, short y2, f VertexFormat* format = immVertexFormat(); unsigned pos = add_attrib(format, "pos", GL_FLOAT, 2, KEEP_FLOAT); - unsigned color = add_attrib(format, "color", GL_UNSIGNED_BYTE, 4, KEEP_INT); + unsigned color = add_attrib(format, "color", GL_UNSIGNED_BYTE, 4, NORMALIZE_INT_TO_FLOAT); immAttrib4ub(color, 255, 0, 0, alpha_debug); immBindBuiltinProgram(GPU_SHADER_2D_FLAT_COLOR); |