Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-01-09 23:12:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-01-09 23:12:10 +0300
commitf06f6eab0de15aeebab13074ef0b4173649779b4 (patch)
tree5d690cf77049b740cf2a17de8d337727043fb40f /source/blender/gpu/GPU_basic_shader.h
parent8a924899a9e95e33ccdf1568a7b38d355bb91a38 (diff)
Cleanup: style, gpu module
Diffstat (limited to 'source/blender/gpu/GPU_basic_shader.h')
-rw-r--r--source/blender/gpu/GPU_basic_shader.h14
1 files changed, 7 insertions, 7 deletions
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<<GPU_SHADER_OPTIONS_NUM)
+ GPU_SHADER_OPTION_COMBINATIONS = (1 << GPU_SHADER_OPTIONS_NUM)
} GPUBasicShaderOption;
/* Keep these in sync with gpu_shader_basic_frag.glsl */