diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-01 08:41:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-01 08:43:45 +0300 |
commit | 172614fb7dac799d373e778a541e8d9f78228221 (patch) | |
tree | b77774af3f19bb4b7fe5262cb8350e4603d98657 /source/blender/gpu/intern/gpu_select.c | |
parent | 7f86afec9d6799e22127c53d9d0805a87462fc08 (diff) |
GPU_select: remove unused finalize function
Changed 2.8x code so this is no longer needed.
Diffstat (limited to 'source/blender/gpu/intern/gpu_select.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_select.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source/blender/gpu/intern/gpu_select.c b/source/blender/gpu/intern/gpu_select.c index ff377ac703a..291a552a041 100644 --- a/source/blender/gpu/intern/gpu_select.c +++ b/source/blender/gpu/intern/gpu_select.c @@ -150,29 +150,6 @@ bool GPU_select_load_id(uint id) } /** - * Needed when GL context of #GPU_select_end - * can't be used to finalize selection operations - * (because of context changes). - */ -void GPU_select_finalize(void) -{ - if (!g_select_state.select_is_active) - return; - - switch (g_select_state.algorithm) { - case ALGO_GL_LEGACY: - case ALGO_GL_QUERY: - { - break; - } - default: /* ALGO_GL_PICK */ - { - gpu_select_pick_finalize(); - } - } -} - -/** * Cleanup and flush selection results to buffer. * Return number of hits and hits in buffer. * if \a dopass is true, we will do a second pass with occlusion queries to get the closest hit. |