From f06f6eab0de15aeebab13074ef0b4173649779b4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 10 Jan 2016 07:12:10 +1100 Subject: Cleanup: style, gpu module --- source/blender/gpu/GPU_basic_shader.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source/blender/gpu/GPU_basic_shader.h') diff --git a/source/blender/gpu/GPU_basic_shader.h b/source/blender/gpu/GPU_basic_shader.h index f964e056d44..f376850a8f9 100644 --- a/source/blender/gpu/GPU_basic_shader.h +++ b/source/blender/gpu/GPU_basic_shader.h @@ -41,15 +41,15 @@ extern "C" { /* Fixed Function Shader */ typedef enum GPUBasicShaderOption { - GPU_SHADER_USE_COLOR = (1<<0), /* use glColor, for lighting it replaces diffuse */ - GPU_SHADER_LIGHTING = (1<<1), /* use lighting */ - GPU_SHADER_TWO_SIDED = (1<<2), /* flip normals towards viewer */ - GPU_SHADER_TEXTURE_2D = (1<<3), /* use 2D texture to replace diffuse color */ + GPU_SHADER_USE_COLOR = (1 << 0), /* use glColor, for lighting it replaces diffuse */ + GPU_SHADER_LIGHTING = (1 << 1), /* use lighting */ + GPU_SHADER_TWO_SIDED = (1 << 2), /* flip normals towards viewer */ + GPU_SHADER_TEXTURE_2D = (1 << 3), /* use 2D texture to replace diffuse color */ - GPU_SHADER_SOLID_LIGHTING = (1<<4), /* use faster lighting (set automatically) */ - GPU_SHADER_STIPPLE = (1<<5), /* use stipple */ + GPU_SHADER_SOLID_LIGHTING = (1 << 4), /* use faster lighting (set automatically) */ + GPU_SHADER_STIPPLE = (1 << 5), /* use stipple */ GPU_SHADER_OPTIONS_NUM = 6, - GPU_SHADER_OPTION_COMBINATIONS = (1<