summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/driver/etna_screen.c2
1 files changed, 1 insertions, 1 deletions
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;
}