From f349ea5508b1f8c756b4193baf759402150cf3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Thu, 13 Aug 2020 02:29:09 +0200 Subject: GPUDrawList: Fix gl error with drawing without the correct VAO bound --- source/blender/gpu/opengl/gl_batch.hh | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/gpu/opengl/gl_batch.hh') diff --git a/source/blender/gpu/opengl/gl_batch.hh b/source/blender/gpu/opengl/gl_batch.hh index 490c9180a99..d70f43aed2a 100644 --- a/source/blender/gpu/opengl/gl_batch.hh +++ b/source/blender/gpu/opengl/gl_batch.hh @@ -96,8 +96,6 @@ class GLBatch : public Batch { ~GLBatch(); void draw(int v_first, int v_count, int i_first, int i_count) override; - - private: void bind(int i_first); MEM_CXX_CLASS_ALLOC_FUNCS("GLBatch"); -- cgit v1.2.3