DRW: Remove unecessary state changes
The TODO is old and the issue does not seems to appear anymore. If bugs emerge from this commit it's most likely to be a bad usage of the API.
This commit is contained in:
@@ -1281,9 +1281,6 @@ static void draw_shgroup(DRWShadingGroup *shgroup, DRWState pass_state)
|
||||
if (use_tfeedback) {
|
||||
GPU_shader_transform_feedback_disable(shgroup->shader);
|
||||
}
|
||||
|
||||
/* TODO: remove, (currently causes alpha issue with sculpt, need to investigate) */
|
||||
DRW_state_reset();
|
||||
}
|
||||
|
||||
static void drw_update_view(void)
|
||||
|
||||
Reference in New Issue
Block a user