diff options
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index e8f17ba30b0..98479f0d84e 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -404,9 +404,9 @@ svga_is_format_supported( struct pipe_screen *screen, * out of sync: */ if(tex_usage & (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DEPTH_STENCIL)) - return svga_translate_format_render(ss, format) != SVGA3D_FORMAT_INVALID; + return svga_translate_format_render(ss, format, tex_usage) != SVGA3D_FORMAT_INVALID; else - return svga_translate_format(ss, format) != SVGA3D_FORMAT_INVALID; + return svga_translate_format(ss, format, tex_usage) != SVGA3D_FORMAT_INVALID; } |