drivers/dri: explicitly set __DRI2flushExtension members
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>y
This commit is contained in:
@@ -227,9 +227,10 @@ nouveau_drawable_flush(__DRIdrawable *draw)
|
||||
}
|
||||
|
||||
static const struct __DRI2flushExtensionRec nouveau_flush_extension = {
|
||||
{ __DRI2_FLUSH, 3 },
|
||||
nouveau_drawable_flush,
|
||||
dri2InvalidateDrawable,
|
||||
.base = { __DRI2_FLUSH, 3 },
|
||||
|
||||
.flush = nouveau_drawable_flush,
|
||||
.invalidate = dri2InvalidateDrawable,
|
||||
};
|
||||
|
||||
static const struct __DRItexBufferExtensionRec nouveau_texbuffer_extension = {
|
||||
|
||||
@@ -192,9 +192,10 @@ radeonDRI2Flush(__DRIdrawable *drawable)
|
||||
}
|
||||
|
||||
static const struct __DRI2flushExtensionRec radeonFlushExtension = {
|
||||
{ __DRI2_FLUSH, 3 },
|
||||
radeonDRI2Flush,
|
||||
dri2InvalidateDrawable,
|
||||
.base = { __DRI2_FLUSH, 3 },
|
||||
|
||||
.flush = radeonDRI2Flush,
|
||||
.invalidate = dri2InvalidateDrawable,
|
||||
};
|
||||
|
||||
static __DRIimage *
|
||||
|
||||
Reference in New Issue
Block a user