mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 23:09:05 +02:00
st/dri: make dri_drawable_validate_att static
This commit is contained in:
parent
c14b4371ed
commit
5c0a0f2198
2 changed files with 2 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue