Blender Git Loki
Git Commits -> Revision bf3f4da
Revision bf3f4da by Clément Foucault (master) September 12, 2020, 15:29 (GMT) |
GPU: Fix wrong state before python callbacks This was caused by a missing state apply. We force the GPUState to be set after the callbacks to avoid desync between our state tracker and the real gl state. This fixes some issues but a better general fix for all BGL would be better. This fix T80297 2.91 texture alpha is not transparent |
Commit Details:
Full Hash: bf3f4da9472516be12dcc69740fa69b6d72f1274
Parent Commit: 6bc0a84
Lines Changed: +41, -6
8 Modified Paths:
/source/blender/draw/intern/draw_manager.c (+5, -0) (Diff)
/source/blender/editors/space_api/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_api/spacetypes.c (+8, -0) (Diff)
/source/blender/gpu/GPU_state.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_state.cc (+12, -6) (Diff)
/source/blender/gpu/intern/gpu_state_private.hh (+1, -0) (Diff)
/source/blender/gpu/opengl/gl_state.cc (+11, -0) (Diff)
/source/blender/gpu/opengl/gl_state.hh (+1, -0) (Diff)
/source/blender/editors/space_api/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_api/spacetypes.c (+8, -0) (Diff)
/source/blender/gpu/GPU_state.h (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_state.cc (+12, -6) (Diff)
/source/blender/gpu/intern/gpu_state_private.hh (+1, -0) (Diff)
/source/blender/gpu/opengl/gl_state.cc (+11, -0) (Diff)
/source/blender/gpu/opengl/gl_state.hh (+1, -0) (Diff)