egl: inline fallback for swap_buffers_region
[mesa.git] / src / egl / drivers / dri2 / egl_dri2.h
index f3bed345c63d4e7f091586cd3a339375b91ac1a5..dfaf25bce66df0eba2093d5e6a2e4fab282b926d 100644 (file)
@@ -125,6 +125,7 @@ struct dri2_egl_display_vtbl {
                                           _EGLSurface *surface,
                                           const EGLint *rects, EGLint n_rects);
 
+   /* optional */
    EGLBoolean (*swap_buffers_region)(_EGLDriver *drv, _EGLDisplay *disp,
                                      _EGLSurface *surf, EGLint numRects,
                                      const EGLint *rects);