new glx: implement fill for monitor-repaint
Refine the API of fill_rectangle and rename it to fill. Extras: Keep GL_BLEND enabled; Fixed some texture/fbo leaks Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -2727,7 +2727,7 @@ session_init(int argc, char **argv, Display *dpy, const char *config_file,
|
||||
}
|
||||
|
||||
if (ps->o.experimental_backends) {
|
||||
if (ps->o.monitor_repaint && !backend_list[ps->o.backend]->fill_rectangle) {
|
||||
if (ps->o.monitor_repaint && !backend_list[ps->o.backend]->fill) {
|
||||
log_warn("--monitor-repaint is not supported by the backend, disabling");
|
||||
ps->o.monitor_repaint = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user