summaryrefslogtreecommitdiff
path: root/c++/window-opengl/gl_xcb.cpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2023-09-19 16:09:54 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2023-09-19 16:09:54 +0200
commit288a74deb3d5f7dfa38a629adb3e06a6d5ebfcb6 (patch)
tree88ac9524aaa7888cb27bebdccc5ec1b6c844f94f /c++/window-opengl/gl_xcb.cpp
parentbaad21805adde570729b67e2c320f22ddab9e439 (diff)
window-opengl: Changing gl to gpu names
Diffstat (limited to 'c++/window-opengl/gl_xcb.cpp')
-rw-r--r--c++/window-opengl/gl_xcb.cpp6
1 files changed, 3 insertions, 3 deletions
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<backend::gl_linux_xcb>::gl_context(const glx_library_extensions& ext_lib,
+gpu_context<backend::gl_linux_xcb>::gpu_context(const glx_library_extensions& ext_lib,
own<device<backend::linux_xcb>> 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<backend::gl_linux_xcb>::~gl_context(){
+gpu_context<backend::gl_linux_xcb>::~gpu_context(){
assert(device_);
assert(device_->get_xcb_display());
@@ -97,7 +97,7 @@ void gpu_context<backend::gl_linux_xcb>::flush(){
}
}
-own<gpu_context<backend::gl_linux_xcb> > create_gl_context(io_provider& prov, const gl_settings& settings){
+own<gpu_context<backend::gl_linux_xcb> > create_gpu_context(io_provider& prov, const gl_settings& settings){
own<device<backend::linux_xcb>> device = create_xcb_device(prov);
if (!device) {
return nullptr;