DRW: Fix T77370: Redundant anti aliasing/blur effect
This commit is contained in:
parent
1d72fc5a1a
commit
ba5b303c88
Notes:
blender-bot
2023-02-14 05:44:22 +01:00
Referenced by issue #77599, Clicking on image in image editor or UV editor causes it to switch to a kind of linear interpolation. Referenced by issue #77370, Redundant anti aliasing/blur effect
|
@ -454,6 +454,8 @@ void DRW_state_reset(void)
|
|||
{
|
||||
DRW_state_reset_ex(DRW_STATE_DEFAULT);
|
||||
|
||||
GPU_texture_unbind_all();
|
||||
|
||||
/* Should stay constant during the whole rendering. */
|
||||
GPU_point_size(5);
|
||||
GPU_line_smooth(false);
|
||||
|
@ -1307,7 +1309,6 @@ static void drw_draw_pass_ex(DRWPass *pass,
|
|||
|
||||
if (DST.shader) {
|
||||
GPU_shader_unbind();
|
||||
GPU_texture_unbind_all();
|
||||
DST.shader = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue