summaryrefslogtreecommitdiff
path: root/src/graphics.cc
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-10 16:46:07 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-10 16:46:07 +0100
commit6e037ccc63cfc83ddda71824700ffa91ab9daab9 (patch)
treef79d37cfe6971b823229719af89de137b907c3df /src/graphics.cc
parent9030c54fab8c99df4f7327423590628b6e2306af (diff)
dont need yet
Diffstat (limited to 'src/graphics.cc')
-rw-r--r--src/graphics.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/graphics.cc b/src/graphics.cc
index 3eddc74..eecab73 100644
--- a/src/graphics.cc
+++ b/src/graphics.cc
@@ -27,10 +27,6 @@ static EGLint WAYC_OGL_ATTRS[] = {
EGL_NONE
};
-static struct graphics_s WAYC_GRAPHICS_DUMMY = {
- nullptr, nullptr, nullptr
-};
-
/* clang-format on */
static bool wayc_graphics_config(EGLDisplay display, EGLConfig* config) {
@@ -88,7 +84,6 @@ void wayc_graphics_deinit(struct graphics_s* graphics) {
if (graphics->display == nullptr || graphics->context == nullptr) return;
- wayc_graphics_use(&WAYC_GRAPHICS_DUMMY);
eglDestroyContext(graphics->display, graphics->context);
eglTerminate(graphics->display);