summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGL/GLContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGL/GLContext.cpp')
-rw-r--r--Userland/Libraries/LibGL/GLContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGL/GLContext.cpp b/Userland/Libraries/LibGL/GLContext.cpp
index 49510ea0e2..7fa770636c 100644
--- a/Userland/Libraries/LibGL/GLContext.cpp
+++ b/Userland/Libraries/LibGL/GLContext.cpp
@@ -952,7 +952,7 @@ ErrorOr<ByteBuffer> GLContext::build_extension_string()
TRY(string_builder.try_join(' ', extensions));
// Create null-terminated string
- auto extensions_bytes = TRY(string_builder.try_to_byte_buffer());
+ auto extensions_bytes = TRY(string_builder.to_byte_buffer());
TRY(extensions_bytes.try_append(0));
return extensions_bytes;
}