DRW: Fix remaining glDisable

This commit is contained in:
Clément Foucault 2020-08-20 16:49:02 +02:00
parent e23ef8753a
commit 8228356f50
1 changed files with 1 additions and 1 deletions

View File

@ -1703,7 +1703,7 @@ void DRW_render_gpencil(struct RenderEngine *engine, struct Depsgraph *depsgraph
GPU_viewport_free(DST.viewport);
DRW_state_reset();
glDisable(GL_DEPTH_TEST);
GPU_depth_test(GPU_DEPTH_NONE);
/* Restore Drawing area. */
GPU_framebuffer_restore();