Cleanup: Remove unused DRW_state_do_color_management.

Function wasn't used since we migrated to the new color management
pipeline. It is also not expected it would be needed in the current
design.
This commit is contained in:
Jeroen Bakker 2021-08-31 11:55:54 +02:00
parent a7ee49d065
commit 9ab31b53b7
2 changed files with 0 additions and 9 deletions

View File

@ -729,7 +729,6 @@ bool DRW_state_is_fbo(void);
bool DRW_state_is_select(void);
bool DRW_state_is_depth(void);
bool DRW_state_is_image_render(void);
bool DRW_state_do_color_management(void);
bool DRW_state_is_scene_render(void);
bool DRW_state_is_opengl_render(void);
bool DRW_state_is_playback(void);

View File

@ -2837,14 +2837,6 @@ bool DRW_state_is_image_render(void)
return DST.options.is_image_render;
}
/**
* Whether the view transform should be applied.
*/
bool DRW_state_do_color_management(void)
{
return DST.options.do_color_management;
}
/**
* Whether we are rendering only the render engine,
* or if we should also render the mode engines.