summaryrefslogtreecommitdiff
path: root/src/graphics.cc
diff options
context:
space:
mode:
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);