diff options
author | Brian Paul <brianp@vmware.com> | 2009-05-06 15:23:09 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-05-07 10:12:33 -0600 |
commit | dcca97a3e3c1d8f5d27e1177257964eddb9effd3 (patch) | |
tree | e3efceb5f80671736f24531147d0cd5da66a3f04 /src/mesa/main/mtypes.h | |
parent | b9d0f947f2bcc47047b162e3d7c8f91b6153e02c (diff) |
mesa: added gl_buffer_object::Written flag (for debug purposes)
The flag is set when we data has been written into the buffer object.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 368acde7a1..276bc42eba 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1506,6 +1506,7 @@ struct gl_buffer_object GLsizeiptrARB Size; /**< Size of storage in bytes */ GLubyte *Data; /**< Location of storage either in RAM or VRAM. */ GLboolean OnCard; /**< Is buffer in VRAM? (hardware drivers) */ + GLboolean Written; /**< Ever written to? (for debugging) */ }; |