X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=input.cpp;h=d36919407077c60aff7f34eabb5a74dc57f15aab;hp=29e4ed3975577e998184c27cf539419b77adb801;hb=ad7d036afd462810aaa1c8686834fa91b2c4e5ae;hpb=519ddcdf0458032a2024d7acc57642fe27829dc0 diff --git a/input.cpp b/input.cpp index 29e4ed3..d369194 100644 --- a/input.cpp +++ b/input.cpp @@ -91,7 +91,7 @@ void Input::curl_callback(char *ptr, size_t bytes) return; } - process_block(pending_data.data(), size, flags); + process_block(pending_data.data() + sizeof(metacube_block_header), size, flags); // Consume this block. This isn't the most efficient way of dealing with things // should we have many blocks, but these routines don't need to be too efficient