From 288a74deb3d5f7dfa38a629adb3e06a6d5ebfcb6 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 19 Sep 2023 16:09:54 +0200 Subject: window-opengl: Changing gl to gpu names --- c++/window-opengl/gl_xcb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'c++/window-opengl/gl_xcb.cpp') diff --git a/c++/window-opengl/gl_xcb.cpp b/c++/window-opengl/gl_xcb.cpp index 5babaf2..ed4e40b 100644 --- a/c++/window-opengl/gl_xcb.cpp +++ b/c++/window-opengl/gl_xcb.cpp @@ -60,10 +60,10 @@ int translate_drawable_type_setting(gl_settings::drawable_type cmp){ } } -gpu_context::gl_context(const glx_library_extensions& ext_lib, +gpu_context::gpu_context(const glx_library_extensions& ext_lib, own> dev, int visual_id, GLXContext context, GLXFBConfig fb_config): ext_lib_{ext_lib}, device_{std::move(dev)}, visual_id_{visual_id}, context_{context}, fb_config_{fb_config}{} -gpu_context::~gl_context(){ +gpu_context::~gpu_context(){ assert(device_); assert(device_->get_xcb_display()); @@ -97,7 +97,7 @@ void gpu_context::flush(){ } } -own > create_gl_context(io_provider& prov, const gl_settings& settings){ +own > create_gpu_context(io_provider& prov, const gl_settings& settings){ own> device = create_xcb_device(prov); if (!device) { return nullptr; -- cgit v1.2.3