diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-04-27 00:55:59 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-04-27 16:30:48 +0300 |
commit | 5c7b8cfffa5da0e88492d652d1d4137ee4cb0cf2 (patch) | |
tree | 9927995b0fcd3f8a6de3af01054d77053b3e48ab /source/blender/gpu | |
parent | 6f0cf4a80403a7858fb4202ea54a9ccfffca420f (diff) |
OpenGL: remove GL_MAP1_VERTEX_3
This is related to OpenGL evaluators (old feature). From my understanding, we don't seem to be actually using it.
Part of T51164
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/GPU_draw.h | 1 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_draw.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h index 127c2525de8..b9bf39118db 100644 --- a/source/blender/gpu/GPU_draw.h +++ b/source/blender/gpu/GPU_draw.h @@ -197,7 +197,6 @@ typedef struct GPUStateValues unsigned int is_lighting : 1; unsigned int is_line_smooth : 1; unsigned int is_color_logic_op : 1; - unsigned int is_map1_vertex3 : 1; unsigned int is_multisample : 1; unsigned int is_normalize : 1; unsigned int is_polygon_offset_line : 1; diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c index 55b3f170962..1d4bfdeef6d 100644 --- a/source/blender/gpu/intern/gpu_draw.c +++ b/source/blender/gpu/intern/gpu_draw.c @@ -2547,7 +2547,6 @@ void gpuSaveState(GPUStateValues *values, eGPUStateMask mask) values->is_line_smooth = glIsEnabled(GL_LINE_SMOOTH); values->is_color_logic_op = glIsEnabled(GL_COLOR_LOGIC_OP); - values->is_map1_vertex3 = glIsEnabled(GL_MAP1_VERTEX_3); values->is_multisample = glIsEnabled(GL_MULTISAMPLE); values->is_normalize = glIsEnabled(GL_NORMALIZE); values->is_polygon_offset_line = glIsEnabled(GL_POLYGON_OFFSET_LINE); @@ -2612,7 +2611,6 @@ void gpuRestoreState(GPUStateValues *values) restore_mask(GL_LINE_SMOOTH, values->is_line_smooth); restore_mask(GL_COLOR_LOGIC_OP, values->is_color_logic_op); - restore_mask(GL_MAP1_VERTEX_3, values->is_map1_vertex3); restore_mask(GL_MULTISAMPLE, values->is_multisample); restore_mask(GL_NORMALIZE, values->is_normalize); restore_mask(GL_POLYGON_OFFSET_LINE, values->is_polygon_offset_line); |