diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-06-17 15:43:17 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-06-17 15:43:17 +0200 |
| commit | db24b566ba1be51255b98aafc34a117aaec65f39 (patch) | |
| tree | fbbc8289cf3d6027554ec45d899e74e452aec156 /src/linux/platform.c | |
| parent | 855070a2870b7f2fe777fded9bb705385f6cd2e2 (diff) | |
switch between cpu and gpu rendering while running
Diffstat (limited to 'src/linux/platform.c')
| -rw-r--r-- | src/linux/platform.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/linux/platform.c b/src/linux/platform.c index 10e812d..d654cac 100644 --- a/src/linux/platform.c +++ b/src/linux/platform.c @@ -21,9 +21,6 @@ #include <sys/stat.h> #include <sys/mman.h> #include <X11/cursorfont.h> -//#include <curl/curl.h> -//#include <ifaddrs.h> -//#include <netpacket/packet.h> #define GET_ATOM(X) window.X = XInternAtom(window.display, #X, False) @@ -39,7 +36,6 @@ struct t_platform_window XEvent event; char *clipboard_str; s32 clipboard_strlen; - bool do_draw; Atom xdnd_req; Atom xdnd_source; @@ -62,6 +58,8 @@ struct t_platform_window Atom _NET_WM_STATE; // shared window properties + bool do_draw; + backbuffer backbuffer; s32 width; s32 height; bool is_open; |
