mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
whoops, forgot to seek.
This commit is contained in:
parent
b4421c3157
commit
cef263157d
@ -237,7 +237,8 @@ underflow() {
|
|||||||
nassertr(gptr() + num_bytes <= egptr(), EOF);
|
nassertr(gptr() + num_bytes <= egptr(), EOF);
|
||||||
|
|
||||||
streamsize read_count;
|
streamsize read_count;
|
||||||
_source->read(gptr(), num_bytes, read_count);
|
bool eof;
|
||||||
|
_source->seek_read(_cur, gptr(), num_bytes, read_count, eof);
|
||||||
|
|
||||||
if (read_count != num_bytes) {
|
if (read_count != num_bytes) {
|
||||||
// Oops, we didn't read what we thought we would.
|
// Oops, we didn't read what we thought we would.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user