summaryrefslogtreecommitdiff
path: root/Tests/LibGL
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibGL')
-rw-r--r--Tests/LibGL/TestRender.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/LibGL/TestRender.cpp b/Tests/LibGL/TestRender.cpp
index 8fcb7fe3f0..11a1949208 100644
--- a/Tests/LibGL/TestRender.cpp
+++ b/Tests/LibGL/TestRender.cpp
@@ -7,6 +7,7 @@
#include <AK/DeprecatedString.h>
#include <AK/LexicalPath.h>
+#include <LibCore/File.h>
#include <LibCore/Stream.h>
#include <LibGL/GL/gl.h>
#include <LibGL/GLContext.h>
@@ -36,7 +37,7 @@ static void expect_bitmap_equals_reference(Gfx::Bitmap const& bitmap, StringView
if constexpr (SAVE_OUTPUT) {
auto target_path = LexicalPath("/home/anon").append(reference_filename);
auto qoi_buffer = Gfx::QOIWriter::encode(bitmap);
- auto qoi_output_stream = MUST(Core::Stream::File::open(target_path.string(), Core::Stream::OpenMode::Write));
+ auto qoi_output_stream = MUST(Core::File::open(target_path.string(), Core::File::OpenMode::Write));
MUST(qoi_output_stream->write_entire_buffer(qoi_buffer));
}