Blender Git Loki

Git Commits -> Revision 3198fec

Revision 3198fec by Jeroen Bakker (master)
August 28, 2020, 12:38 (GMT)
Fix T80160: Workbench shadows are broken

In recent refactoring {a9f2ebb21508} an issue was introduced that the
opengl rasterizer would be disabled when only writing to a stencil
buffer.

This fix adds stencil writing to the write mask and set it. This makes
the write map not evaluate to GPU_WRITE_NONE and the rasterizer will be
enabled in `GLStateManager::set_write_mask`.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D8743

Commit Details:

Full Hash: 3198fec1fed525ee705e6945605723615958b292
Parent Commit: df8e2c7
Lines Changed: +4, -0

2 Modified Paths:

/source/blender/draw/intern/draw_manager_exec.c (+3, -0) (Diff)
/source/blender/gpu/GPU_state.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021