summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-05-01 16:38:37 -0700
committerEric Anholt <eric@anholt.net>2008-05-01 16:38:37 -0700
commit7d5f783eca3302ec7efa164e2980c75e5e591585 (patch)
tree63d49b55c4ecec1bc3b1423069afd78bc2c46710 /shared-core/drm.h
parentc530011aaaf485157ba6284c0c32c0db83523b64 (diff)
Make GEM object handles be nonzero.
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 6d62af6a..1f49cbb0 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -968,7 +968,11 @@ struct drm_gem_alloc {
* The (page-aligned) allocated size for the object will be returned.
*/
uint32_t size;
- /** Returned handle for the object. */
+ /**
+ * Returned handle for the object.
+ *
+ * Object handles are nonzero.
+ */
uint32_t handle;
};