diff options
author | Marek Olšák <[email protected]> | 2010-04-04 16:09:59 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-04-05 07:09:45 +0200 |
commit | 4e949271c25ccc5a06fbbbe912b0b43b75d1d169 (patch) | |
tree | 1fd7e66fe065cd5206afcdc84c089d833f58c992 /src/gallium/drivers/r300/r300_context.h | |
parent | 0179c5a95b604105ead8d642e8313740adc2a686 (diff) |
r300g: is_npot -> uses_pitch
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 031092312db..4689701bd1d 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -250,10 +250,11 @@ struct r300_texture { /* Total size of this texture, in bytes. */ unsigned size; - /* Whether this texture has non-power-of-two dimensions. + /* Whether this texture has non-power-of-two dimensions + * or a user-specified pitch. * It can be either a regular texture or a rectangle one. */ - boolean is_npot; + boolean uses_pitch; /* Pipe buffer backing this texture. */ struct r300_winsys_buffer *buffer; |