Simplify ctx initializer

This commit is contained in:
Stacy Harper
2021-08-25 22:06:51 +02:00
committed by John Sullivan
parent 283a758910
commit b65ea995f1
3 changed files with 5 additions and 16 deletions

2
drw.h
View File

@ -8,8 +8,6 @@ struct drw;
struct drwsurf;
struct kbd;
void drw_init(struct drw *d, const char *fc_pattern, void *iface);
void drwsurf_init(struct drw *d, struct drwsurf *ds, struct wl_surface *surf);
void drwsurf_resize(struct drwsurf *ds, uint32_t w, uint32_t h, uint32_t s);
void drwsurf_flip(struct drwsurf *ds);