diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-08-07 08:10:38 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-08-07 08:10:38 +0200 |
commit | 4aefe679119bacc14e70ead920273675cab31c92 (patch) | |
tree | 01579e8b6ca9bb376edbdae4a3107dc188e5e804 /src | |
parent | 468bb10b87cbb02ae8c38c39412dbd00d4b4a9f4 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/etna_screen.c | 2 |
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; } |