mesa: fix fallthrough in glformats
[mesa.git] / src / mesa / state_tracker / st_cb_bufferobjects.c
index 33778df0afa83b423d3d0567028745619c76b706..01422bb7908fc5b1cbdea592540fb79a2edb179c 100644 (file)
@@ -605,7 +605,7 @@ st_copy_buffer_subdata(struct gl_context *ctx,
 
    /* buffer should not already be mapped */
    assert(!_mesa_check_disallowed_mapping(src));
-   assert(!_mesa_check_disallowed_mapping(dst));
+   /* dst can be mapped, just not the same range as the target range */
 
    u_box_1d(readOffset, size, &box);