Fix compiler warning [-Wunused-function]
warning: ‘int xrender_supported()’ defined but not used This happens only with certain configure options, particularly if FLTK_USE_CAIRO is set, i.e. drawing with Cairo is enabled.
This commit is contained in:
parent
16f660f676
commit
76858fc040
@ -2217,7 +2217,7 @@ int Fl_X11_Screen_Driver::ewmh_supported() {
|
||||
return result;
|
||||
}
|
||||
|
||||
#if HAVE_XRENDER
|
||||
#if HAVE_XRENDER && (!FLTK_USE_CAIRO)
|
||||
static int xrender_supported() {
|
||||
int nop1, nop2;
|
||||
fl_open_display();
|
||||
|
Loading…
x
Reference in New Issue
Block a user