1
Fork 0
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:
Sam Atkins 2024-01-23 16:31:36 +00:00 committed by Sam Atkins
parent 90240c0e02
commit 1750af83b0
4 changed files with 10 additions and 10 deletions

View file

@ -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)));