st/dri: make dri_drawable_validate_att static

This commit is contained in:
George Sapountzis 2010-08-12 00:03:56 +03:00
parent c14b4371ed
commit 5c0a0f2198
2 changed files with 2 additions and 7 deletions

View file

@ -158,9 +158,9 @@ dri_destroy_buffer(__DRIdrawable * dPriv)
/**
* Validate the texture at an attachment. Allocate the texture if it does not
* exist.
* exist. Used by the TFP extension.
*/
void
static void
dri_drawable_validate_att(struct dri_drawable *drawable,
enum st_attachment_type statt)
{
@ -181,7 +181,6 @@ dri_drawable_validate_att(struct dri_drawable *drawable,
drawable->texture_stamp = drawable->dPriv->lastStamp - 1;
/* this calles into the manager */
drawable->base.validate(&drawable->base, statts, count, NULL);
}

View file

@ -89,10 +89,6 @@ dri_drawable_get_format(struct dri_drawable *drawable,
enum pipe_format *format,
unsigned *bind);
void
dri_drawable_validate_att(struct dri_drawable *drawable,
enum st_attachment_type statt);
extern const __DRItexBufferExtension driTexBufferExtension;
#endif