mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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);
|
||||
|
||||
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) {
|
||||
// Oops, we didn't read what we thought we would.
|
||||
|
Loading…
x
Reference in New Issue
Block a user