mesa: remove _mesa_compressed_row_stride() calls
authorBrian Paul <brianp@vmware.com>
Sun, 25 Oct 2009 23:21:11 +0000 (17:21 -0600)
committerBrian Paul <brianp@vmware.com>
Sun, 25 Oct 2009 23:21:11 +0000 (17:21 -0600)
src/mesa/state_tracker/st_cb_texture.c

index 8ba7c8e..4397adb 100644 (file)
@@ -698,8 +698,7 @@ st_TexImage(GLcontext * ctx,
                                                texImage->Width,
                                                texImage->Height,
                                                texImage->Depth);
-         dstRowStride =
-            _mesa_compressed_row_stride(texImage->TexFormat, width);
+         dstRowStride = _mesa_format_row_stride(texImage->TexFormat, width);
          assert(dims != 3);
       }
       else {