From a1df2fc44388a92ba539f764203170902dd2a663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Mon, 31 Aug 2020 15:09:15 +0200 Subject: Cleanup: GPU: Remove unused attr_binding and primitive code --- source/blender/gpu/opengl/gl_drawlist.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/gpu/opengl/gl_drawlist.cc') diff --git a/source/blender/gpu/opengl/gl_drawlist.cc b/source/blender/gpu/opengl/gl_drawlist.cc index 16ea924d8dc..35fecc859b8 100644 --- a/source/blender/gpu/opengl/gl_drawlist.cc +++ b/source/blender/gpu/opengl/gl_drawlist.cc @@ -33,10 +33,10 @@ #include "gpu_context_private.hh" #include "gpu_drawlist_private.hh" -#include "gpu_primitive_private.h" #include "gl_backend.hh" #include "gl_drawlist.hh" +#include "gl_primitive.hh" #include @@ -199,7 +199,7 @@ void GLDrawList::submit(void) * case where only a few instances are needed to finish filling a call buffer. */ const bool is_finishing_a_buffer = (command_offset_ >= data_size_); if (command_len_ > 2 || is_finishing_a_buffer) { - GLenum prim = convert_prim_type_to_gl(batch_->prim_type); + GLenum prim = to_gl(batch_->prim_type); void *offset = (void *)data_offset_; glBindBuffer(GL_DRAW_INDIRECT_BUFFER, buffer_id_); -- cgit v1.2.3