summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/gen4_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index d6623f7b..c6fbddb7 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -573,7 +573,7 @@ static uint32_t gen4_get_dest_format(PictFormat format)
static bool gen4_check_dst_format(PictFormat format)
{
- if (gen4_check_dst_format(format) != -1)
+ if (gen4_get_dest_format(format) != -1)
return true;
DBG(("%s: unhandled format: %x\n", __FUNCTION__, (int)format));