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:
Diffstat (limited to 'source/blender/gpu/opengl')
-rw-r--r--source/blender/gpu/opengl/gl_context.cc4
-rw-r--r--source/blender/gpu/opengl/gl_context.hh2
2 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/gpu/opengl/gl_context.cc b/source/blender/gpu/opengl/gl_context.cc
index 8ec100c0d99..8c1022c8fd1 100644
--- a/source/blender/gpu/opengl/gl_context.cc
+++ b/source/blender/gpu/opengl/gl_context.cc
@@ -46,10 +46,6 @@ using namespace blender::gpu;
GLContext::GLContext(void *ghost_window, GLSharedOrphanLists &shared_orphan_list)
: shared_orphan_list_(shared_orphan_list)
{
- default_framebuffer_ = ghost_window ?
- GHOST_GetDefaultOpenGLFramebuffer((GHOST_WindowHandle)ghost_window) :
- 0;
-
glGenVertexArrays(1, &default_vao_);
float data[4] = {0.0f, 0.0f, 0.0f, 1.0f};
diff --git a/source/blender/gpu/opengl/gl_context.hh b/source/blender/gpu/opengl/gl_context.hh
index 35121a960ba..c19731f217a 100644
--- a/source/blender/gpu/opengl/gl_context.hh
+++ b/source/blender/gpu/opengl/gl_context.hh
@@ -63,8 +63,6 @@ class GLContext : public GPUContext {
public:
/** Default VAO for procedural draw calls. */
GLuint default_vao_;
- /** Default framebuffer object for some GL implementation. */
- GLuint default_framebuffer_;
/** VBO for missing vertex attrib binding. Avoid undefined behavior on some implementation. */
GLuint default_attr_vbo_;
/**