summaryrefslogtreecommitdiffstats
path: root/src/gbm/main/gbm.c
diff options
context:
space:
mode:
authorGurkirpal Singh <[email protected]>2016-06-23 15:54:11 +0530
committerChad Versace <[email protected]>2016-06-23 13:55:03 -0700
commit15d3777b743939062b4f5626cf921631bb764e44 (patch)
treee04395a2e5f3f9824f11f16b5da041adb8267573 /src/gbm/main/gbm.c
parentb293e8b470506f3077b1e5db12308ec929d896e7 (diff)
gbm: Fix comments
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/gbm/main/gbm.c')
-rw-r--r--src/gbm/main/gbm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index a464f3c33fe..5a6e758e7a5 100644
--- a/src/gbm/main/gbm.c
+++ b/src/gbm/main/gbm.c
@@ -132,7 +132,7 @@ _gbm_mesa_get_device(int fd)
* the file descriptor returned when opening a device such as \c
* /dev/dri/card0
*
- * \param fd The file descriptor for an backend specific device
+ * \param fd The file descriptor for a backend specific device
* \return The newly created struct gbm_device. The resources associated with
* the device should be freed with gbm_device_destroy() when it is no longer
* needed. If the creation of the device failed NULL will be returned.
@@ -522,7 +522,7 @@ gbm_surface_release_buffer(struct gbm_surface *surf, struct gbm_bo *bo)
*
* Before starting a new frame, the surface must have a buffer
* available for rendering. Initially, a gbm surface will have a free
- * buffer, but after one of more buffers have been locked (\sa
+ * buffer, but after one or more buffers have been locked (\sa
* gbm_surface_lock_front_buffer()), the application must check for a
* free buffer before rendering.
*