You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHYSFS_read( handle, &(buffer[0]), filesize, 1 ); should be 1, filesize (no joke)
Other than that, the code was outstanding, small and effective. This vfs tutorial that also uses physfs is too long and complicated. Yours is succinct and near perfect.
The text was updated successfully, but these errors were encountered:
You switched out two parameters the wrong way.
https://github.com/xarray/osgRecipes/blob/master/integrations/osgdb_physfs/ReaderWriterPhysFS.cpp#L90
PHYSFS_read( handle, &(buffer[0]), filesize, 1 );
should be1, filesize
(no joke)Other than that, the code was outstanding, small and effective. This vfs tutorial that also uses physfs is too long and complicated. Yours is succinct and near perfect.
The text was updated successfully, but these errors were encountered: