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 8ba7c8e53fb2e63574d2952cebf194691177b7be..4397adbc1231479b4c452c4624ee614ae63cd2b7 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 {