diff options
author | George Sapountzis <[email protected]> | 2010-08-12 00:03:56 +0300 |
---|---|---|
committer | George Sapountzis <[email protected]> | 2010-08-13 23:08:02 +0300 |
commit | 5c0a0f219843fa283a0fd98dbe0544e8ea820c60 (patch) | |
tree | 87a63748fc548a90191c2c93bdfe0f795dc1ad48 /src/gallium/state_trackers | |
parent | c14b4371ed58859d264b7b2581cfedc9cfd8401f (diff) |
st/dri: make dri_drawable_validate_att static
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/dri/common/dri_drawable.c | 5 | ||||
-rw-r--r-- | src/gallium/state_trackers/dri/common/dri_drawable.h | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/gallium/state_trackers/dri/common/dri_drawable.c b/src/gallium/state_trackers/dri/common/dri_drawable.c index fb07b45a2b5..1bdfdccf439 100644 --- a/src/gallium/state_trackers/dri/common/dri_drawable.c +++ b/src/gallium/state_trackers/dri/common/dri_drawable.c @@ -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); } diff --git a/src/gallium/state_trackers/dri/common/dri_drawable.h b/src/gallium/state_trackers/dri/common/dri_drawable.h index 8d108cc4155..74e662d36c4 100644 --- a/src/gallium/state_trackers/dri/common/dri_drawable.h +++ b/src/gallium/state_trackers/dri/common/dri_drawable.h @@ -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 |