summaryrefslogtreecommitdiff
path: root/src/egl.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-10-31 16:47:03 +0000
committerPhil Jones <philj56@gmail.com>2021-10-31 16:54:20 +0000
commit74adfe0cbca300e73774c6e0aa9b3c53a5e5b57b (patch)
tree88d0efbdd9755849eb22ee3478595df5c8e69a34 /src/egl.h
parentc691b8e48c572e2d5f1c7c16c8f42babd7d706d5 (diff)
Add HiDPI support and lots of cleanup.
Diffstat (limited to 'src/egl.h')
-rw-r--r--src/egl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/egl.h b/src/egl.h
index a1856b2..a705538 100644
--- a/src/egl.h
+++ b/src/egl.h
@@ -11,7 +11,11 @@ struct egl {
EGLSurface surface;
};
-void egl_create_window(struct egl *egl, struct wl_surface *wl_surface, uint32_t width, uint32_t height);
+void egl_create_window(
+ struct egl *egl,
+ struct wl_surface *wl_surface,
+ uint32_t width,
+ uint32_t height);
void egl_create_context(struct egl *egl, struct wl_display *wl_display);
void egl_log_error(const char *msg);
void egl_make_current(struct egl *egl);