From a49708a69181b4c15fb2bd58f6721a39a7e9b0e6 Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Thu, 27 Apr 2017 10:35:12 -0400 Subject: OpenGL: stop using GL_NORMALIZE With GLSL there is no need for GL_NORMALIZE. We explicitly normalize in the shader, or (better) send in unit vectors. Part of T51164 --- source/blender/gpu/GPU_draw.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/gpu/GPU_draw.h') diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h index b9bf39118db..7afb4c2b88b 100644 --- a/source/blender/gpu/GPU_draw.h +++ b/source/blender/gpu/GPU_draw.h @@ -198,7 +198,6 @@ typedef struct GPUStateValues unsigned int is_line_smooth : 1; unsigned int is_color_logic_op : 1; unsigned int is_multisample : 1; - unsigned int is_normalize : 1; unsigned int is_polygon_offset_line : 1; unsigned int is_polygon_offset_fill : 1; unsigned int is_polygon_smooth : 1; -- cgit v1.2.3