diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-06-07 20:46:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-06-07 21:13:16 +0300 |
commit | cf8a0d08b034dd59624a8657ab79f51b64708ab1 (patch) | |
tree | dcee10cda2d25e91db49d113e12dc69da4f1ce50 /source/blender/gpu/GPU_basic_shader.h | |
parent | bf54dcc3c952e207e7c8e7596069152307f61ea3 (diff) |
GPU: make using the glsl basic-shader a flag
This allows for it to be more easily tested.
Diffstat (limited to 'source/blender/gpu/GPU_basic_shader.h')
-rw-r--r-- | source/blender/gpu/GPU_basic_shader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_basic_shader.h b/source/blender/gpu/GPU_basic_shader.h index df2da971845..11d87ce93a8 100644 --- a/source/blender/gpu/GPU_basic_shader.h +++ b/source/blender/gpu/GPU_basic_shader.h @@ -110,6 +110,9 @@ void GPU_basic_shader_stipple(GPUBasicShaderStipple stipple_id); void GPU_basic_shader_line_stipple(GLint stipple_factor, GLushort stipple_pattern); void GPU_basic_shader_line_width(float line_width); +bool GPU_basic_shader_use_glsl_get(void); +void GPU_basic_shader_use_glsl_set(bool enabled); + #ifdef __cplusplus } #endif |