diff options
author | Matt Turner <[email protected]> | 2017-09-28 14:16:18 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-10-02 19:41:22 -0700 |
commit | 3a8a5e77e8f992aaa3539e060885138c2fcddad1 (patch) | |
tree | 2eebf1d1150bee8d2d285a5f7dd761999f1700e2 /src/gallium/drivers/virgl/virgl_screen.c | |
parent | f6c56e07fc5a8e81fd90688c9fee239f18c3480e (diff) |
gallium: Remove util_format_s3tc_enabled
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_screen.c')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_screen.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index 935ce2f9b0a..f2636aac382 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -486,9 +486,7 @@ virgl_is_format_supported( struct pipe_screen *screen, */ if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC) { - if (util_format_s3tc_enabled) - goto out_lookup; - return FALSE; + goto out_lookup; } if (format_desc->layout == UTIL_FORMAT_LAYOUT_RGTC) { goto out_lookup; |