mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -04:00
let's not forget this
This commit is contained in:
parent
2d975e0681
commit
28f1fd83ca
@ -107,8 +107,8 @@ pandavfs_write(URLContext *h, const unsigned char *buf, int size) {
|
|||||||
// Access: Static Function
|
// Access: Static Function
|
||||||
// Description: A hook to seek a panda VFS file.
|
// Description: A hook to seek a panda VFS file.
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
static PN_int64
|
static int64_t
|
||||||
pandavfs_seek(URLContext *h, PN_int64 pos, int whence) {
|
pandavfs_seek(URLContext *h, int64_t pos, int whence) {
|
||||||
istream *s = (istream*)(h->priv_data);
|
istream *s = (istream*)(h->priv_data);
|
||||||
switch(whence) {
|
switch(whence) {
|
||||||
case SEEK_SET: s->seekg(pos, ios::beg); break;
|
case SEEK_SET: s->seekg(pos, ios::beg); break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user