glx/kopper: Wire up a way for SwapBuffers to fail

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16038>
This commit is contained in:
Adam Jackson
2022-04-26 16:01:20 -04:00
committed by Marge Bot
parent 0394f35424
commit c865416f44
4 changed files with 24 additions and 6 deletions

View File

@@ -73,6 +73,7 @@ struct __DRIkopperExtensionRec {
const __DRIconfig *config,
void *loaderPrivate,
int pixmap);
int64_t (*swapBuffers)(__DRIdrawable *draw);
};
/**