projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb33692
)
Skip the Metacube header when adding data.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sat, 6 Apr 2013 15:48:24 +0000
(17:48 +0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sat, 6 Apr 2013 15:48:24 +0000
(17:48 +0200)
input.cpp
patch
|
blob
|
history
diff --git
a/input.cpp
b/input.cpp
index
29e4ed3
..
d369194
100644
(file)
--- 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