3D View: 3D Cursor was not restoring GL state
Caused camera frame to be double width.
This commit is contained in:
parent
446a646551
commit
547e962bf6
|
@ -732,6 +732,9 @@ void DRW_draw_cursor(void)
|
|||
GWN_batch_program_set(cursor_batch, GPU_shader_get_program(shader), GPU_shader_get_interface(shader));
|
||||
|
||||
GWN_batch_draw(cursor_batch);
|
||||
|
||||
glDisable(GL_BLEND);
|
||||
glDisable(GL_LINE_SMOOTH);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue