dmabuftexture: Include gdkdmabuffourccprivate.h

It includes a fallback list of fourccs. Otherwise we might miss some
DRM_FORMAT definition.
This commit is contained in:
Alessandro Bono 2024-02-13 12:42:03 +01:00
parent 4e680cae48
commit 4fc05e7c64

View File

@ -3,12 +3,9 @@
#include <gtk/gtk.h>
#include <gdk/gdkdisplayprivate.h>
#include <gdk/gdkglcontextprivate.h>
#include <gdk/gdkdmabuffourccprivate.h>
#include <gdk/gdkdmabuftextureprivate.h>
#ifdef HAVE_DMABUF
#include <drm_fourcc.h>
#endif
static cairo_surface_t *
make_surface (int width,
int height)