mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 17:37:35 +00:00
3DFileViewer: Use ByteString for file paths
This commit is contained in:
parent
90240c0e02
commit
1750af83b0
4 changed files with 10 additions and 10 deletions
|
@ -25,7 +25,7 @@ static ErrorOr<GLfloat> parse_float(StringView string)
|
|||
return maybe_float.release_value();
|
||||
}
|
||||
|
||||
ErrorOr<NonnullRefPtr<Mesh>> WavefrontOBJLoader::load(String const& filename, NonnullOwnPtr<Core::File> file)
|
||||
ErrorOr<NonnullRefPtr<Mesh>> WavefrontOBJLoader::load(ByteString const& filename, NonnullOwnPtr<Core::File> file)
|
||||
{
|
||||
auto buffered_file = TRY(Core::InputBufferedFile::create(move(file)));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue