summaryrefslogtreecommitdiff
path: root/src/wgl/glitz_wgl_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wgl/glitz_wgl_format.c')
-rw-r--r--src/wgl/glitz_wgl_format.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wgl/glitz_wgl_format.c b/src/wgl/glitz_wgl_format.c
index b06da69..90332e1 100644
--- a/src/wgl/glitz_wgl_format.c
+++ b/src/wgl/glitz_wgl_format.c
@@ -51,6 +51,9 @@ _glitz_wgl_format_compare (const void *elem1,
for (; i < 2; i++)
{
+ if (format[i]->d.color.fourcc != GLITZ_FOURCC_RGB)
+ score[i] -= 1000;
+
if (format[i]->d.color.red_size)
{
if (format[i]->d.color.red_size >= 8)