blob: e8e474ddb76bd9972a8e46c2475e7dd0d9b518b8 [file] [log] [blame]
#ifndef DRI2_BUFFER_H
#define DRI2_BUFFER_H
#include "dri_util.h"
struct pipe_surface;
struct dri2_buffer
{
__DRIbuffer base;
struct pipe_resource *resource;
};
static INLINE struct dri2_buffer *
dri2_buffer(__DRIbuffer * driBufferPriv)
{
return (struct dri2_buffer *) driBufferPriv;
}
#endif
/* vim: set sw=3 ts=8 sts=3 expandtab: */