diff options
author | Jan Ekström <jeebjp@gmail.com> | 2018-05-31 23:46:08 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-07-08 16:49:23 +0300 |
commit | 1a893e8257236b3beca80c0f53d7b6b972fede5c (patch) | |
tree | eb7cdcd9724da282f7cde7eb1b65c71e53b8ed54 /video/out | |
parent | 93ec08cc7f2122f365469d8eb82b9bfbdbb2c4f8 (diff) |
gpu: prefer 16bit floating point FBO formats to 16bit integer ones
According to earlier discussions, this can improve visual quality.
This only changes the preferred order of the formats, not the
formats themselves.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/gpu/video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c index 3fb460469d..7594c2b04a 100644 --- a/video/out/gpu/video.c +++ b/video/out/gpu/video.c @@ -3519,7 +3519,7 @@ static void check_gl_features(struct gl_video *p) bool have_ssbo = ra->caps & RA_CAP_BUF_RW; bool have_fragcoord = ra->caps & RA_CAP_FRAGCOORD; - const char *auto_fbo_fmts[] = {"rgba16", "rgba16f", "rgba16hf", + const char *auto_fbo_fmts[] = {"rgba16f", "rgba16hf", "rgba16", "rgb10_a2", "rgba8", 0}; const char *user_fbo_fmts[] = {p->opts.fbo_format, 0}; const char **fbo_fmts = user_fbo_fmts[0] && strcmp(user_fbo_fmts[0], "auto") |