Fix vertex array leak in Cycles viewport drawing.
This commit is contained in:
parent
6e3331990f
commit
c515ea2e93
|
@ -349,6 +349,7 @@ void Device::draw_pixels(
|
|||
draw_params.unbind_display_space_shader_cb();
|
||||
}
|
||||
|
||||
glDeleteVertexArrays(1, &vertex_array_object);
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
glDeleteTextures(1, &texid);
|
||||
|
||||
|
|
Loading…
Reference in New Issue