st/dri: fix dri2_format_table for argb1555 and rgb565
authorMarek Olšák <marek.olsak@amd.com>
Fri, 11 Jan 2019 21:19:02 +0000 (16:19 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 14 Jan 2019 19:54:19 +0000 (14:54 -0500)
commit76df5e8f527d9a5ff319a433dc07a4e32f3924f5
tree1560eeaa1a97548899ac87f7c0a38fb554312b06
parent2d2737dcfe60f1e1b601c2c75a2695a544c9a3dc
st/dri: fix dri2_format_table for argb1555 and rgb565

The bug caused that rgb565 framebuffers used argb1555.

Fixes: 433ca3127a3b94bfe9a513e7c7ce594e09e1359f
Reviewed-by: Kristian H. Kristensen <hoegsberg@gmail.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/state_trackers/dri/dri2.c