refactored X11 code in 'render.c' and 'xwin.c'

This commit is contained in:
Jarcode
2018-02-11 09:38:23 -08:00
parent ae09561d11
commit 79b99b09be
7 changed files with 152 additions and 121 deletions

2
xwin.h
View File

@@ -1,5 +1,5 @@
bool xwin_should_render(void);
bool xwin_should_render(struct renderer* rd);
void xwin_settype(struct renderer* rd, const char* type);
void xwin_addstate(struct renderer* rd, const char* state);
unsigned int xwin_copyglbg(struct renderer* rd, unsigned int texture);