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>2018-03-01 08:48:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-01 08:48:13 +0300
commitb5cc55c8220480ee1b17405265512d9a16f46004 (patch)
treeb9df8f0f70b218f156c30118ce4fc41fac68d19c /source/blender/gpu/intern/gpu_select.c
parenta459ef2827f1bb9e6ce92b0946a7463061c9ac55 (diff)
parent172614fb7dac799d373e778a541e8d9f78228221 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/gpu/intern/gpu_select.c')
-rw-r--r--source/blender/gpu/intern/gpu_select.c23
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 42d152cc7de..7023e44d289 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.