vo_opengl: remove is_linear_rgb and clean up code

This opportunity for refactoring was enabled by f3c84a3.
This commit is contained in:
Niklas Haas
2015-01-28 18:52:33 +01:00
parent 0a38d69ac0
commit 8d15f7583c
2 changed files with 13 additions and 12 deletions

View File

@@ -70,7 +70,8 @@ enum mp_csp_prim {
enum mp_csp_trc {
MP_CSP_TRC_NONE,
MP_CSP_TRC_BT_1886,
MP_CSP_TRC_SRGB
MP_CSP_TRC_SRGB,
MP_CSP_TRC_LINEAR
};
// Any enum mp_csp_prim value is a valid index (except MP_CSP_PRIM_COUNT)