Add glx_backend to backend_list
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
99b3c4575f
commit
e898526afb
|
@ -7,7 +7,12 @@
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "compiler.h"
|
#include "compiler.h"
|
||||||
|
|
||||||
backend_info_t *backend_list[NUM_BKEND] = {[BKEND_XRENDER] = &xrender_backend};
|
backend_info_t *backend_list[NUM_BKEND] = {
|
||||||
|
[BKEND_XRENDER] = &xrender_backend,
|
||||||
|
#ifdef CONFIG_OPENGL
|
||||||
|
[BKEND_GLX] = &glx_backend,
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
bool default_is_win_transparent(void *backend_data, win *w, void *win_data) {
|
bool default_is_win_transparent(void *backend_data, win *w, void *win_data) {
|
||||||
return w->mode != WMODE_SOLID;
|
return w->mode != WMODE_SOLID;
|
||||||
|
|
Loading…
Reference in New Issue