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:
authorClément Foucault <foucault.clem@gmail.com>2020-08-29 02:29:44 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-08-30 14:11:02 +0300
commitf69c7a7ff99374574e37021117c6247e002d60d9 (patch)
tree7ea720b6f9f2bc044963eb1eecef8486e03f992e /source/blender/gpu/intern
parent807817c0c4b6cef6acef8360394ae000be278109 (diff)
Cleanup: GPUContext: Remove default_framebuffer_
This is now handled by FrameBuffer wrapping.
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r--source/blender/gpu/intern/gpu_context.cc6
-rw-r--r--source/blender/gpu/intern/gpu_context_private.hh1
2 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/gpu/intern/gpu_context.cc b/source/blender/gpu/intern/gpu_context.cc
index 9b4705ae6a3..6101ac5a0d2 100644
--- a/source/blender/gpu/intern/gpu_context.cc
+++ b/source/blender/gpu/intern/gpu_context.cc
@@ -127,12 +127,6 @@ GLuint GPU_vao_default(void)
return static_cast<GLContext *>(active_ctx)->default_vao_;
}
-GLuint GPU_framebuffer_default(void)
-{
- BLI_assert(active_ctx); /* need at least an active context */
- return static_cast<GLContext *>(active_ctx)->default_framebuffer_;
-}
-
GLuint GPU_vao_alloc(void)
{
GLuint new_vao_id = 0;
diff --git a/source/blender/gpu/intern/gpu_context_private.hh b/source/blender/gpu/intern/gpu_context_private.hh
index 664f4e2f676..0374df9bbc5 100644
--- a/source/blender/gpu/intern/gpu_context_private.hh
+++ b/source/blender/gpu/intern/gpu_context_private.hh
@@ -79,7 +79,6 @@ struct GPUContext {
};
GLuint GPU_vao_default(void);
-GLuint GPU_framebuffer_default(void);
/* These require a gl ctx bound. */
GLuint GPU_buf_alloc(void);