OSDN Git Service

r600: fix whitespace in recent 1d texture commit.
authorDave Airlie <airlied@redhat.com>
Wed, 28 Feb 2018 20:15:30 +0000 (20:15 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Feb 2018 20:16:19 +0000 (20:16 +0000)
trivial fix.

src/gallium/drivers/r600/r600_texture.c

index 1fbb682..fbcc878 100644 (file)
@@ -1056,7 +1056,7 @@ r600_choose_tiling(struct r600_common_screen *rscreen,
                /* 1D textures should be linear - fixes image operations on 1d */
                if (templ->target == PIPE_TEXTURE_1D ||
                    templ->target == PIPE_TEXTURE_1D_ARRAY)
-                       return RADEON_SURF_MODE_LINEAR_ALIGNED;
+                       return RADEON_SURF_MODE_LINEAR_ALIGNED;
 
                /* Textures likely to be mapped often. */
                if (templ->usage == PIPE_USAGE_STAGING ||