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:
2019-03-04 01:29:29 +01:00
parent 10afa74e82
commit 798d2cadc3

View File

@@ -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)