From 4aefe679119bacc14e70ead920273675cab31c92 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Thu, 7 Aug 2014 08:10:38 +0200 Subject: Fix vbo format issue in etna_screen_is_format_supported I don't know if this will have any effect but the check was clearly the wrong way around. Thanks to imirkin on IRC for noticing this. --- src/driver/etna_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/etna_screen.c b/src/driver/etna_screen.c index e86025e..704ac8f 100644 --- a/src/driver/etna_screen.c +++ b/src/driver/etna_screen.c @@ -395,7 +395,7 @@ static boolean etna_screen_is_format_supported( struct pipe_screen *screen, if (usage & PIPE_BIND_VERTEX_BUFFER) { /* must be supported vertex format */ - if(translate_vertex_format_type(format, true) == ETNA_NO_MATCH) + if(translate_vertex_format_type(format, true) != ETNA_NO_MATCH) { allowed |= PIPE_BIND_VERTEX_BUFFER; } -- cgit