Page MenuHome
Paste P766

(An Untitled Masterwork)
ActivePublic

Authored by Clément Foucault (fclem) on Aug 14 2018, 11:54 AM.
diff --git a/source/blender/gpu/intern/gpu_immediate.c b/source/blender/gpu/intern/gpu_immediate.c
index 9674cf0b9f7..dc32d6f491c 100644
--- a/source/blender/gpu/intern/gpu_immediate.c
+++ b/source/blender/gpu/intern/gpu_immediate.c
@@ -387,8 +387,8 @@ void immEnd(void)
immDrawSetup();
glDrawArrays(convert_prim_type_to_gl(imm.prim_type), 0, imm.vertex_len);
}
- glBindBuffer(GL_ARRAY_BUFFER, 0);
- glBindVertexArray(0);
+ // glBindBuffer(GL_ARRAY_BUFFER, 0);
+ // glBindVertexArray(0);
/* prep for next immBegin */
imm.buffer_offset += buffer_bytes_used;
}

Event Timeline

hello @Joshua Leung (aligorith) ! where can i download the patch so that i can run it on my system ?

Having same problem here, any place to download the patch?