Mesa (master): i915g: remove trailing commas in enum lists to silence warnings

Brian Paul brianp at kemper.freedesktop.org
Tue Nov 17 23:17:19 UTC 2009


Module: Mesa
Branch: master
Commit: 845ddbc9aa62d1c9142822608370d96b2d68cec0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=845ddbc9aa62d1c9142822608370d96b2d68cec0

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Nov 17 16:14:54 2009 -0700

i915g: remove trailing commas in enum lists to silence warnings

---

 src/gallium/drivers/i915/intel_winsys.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/i915/intel_winsys.h b/src/gallium/drivers/i915/intel_winsys.h
index 2c8dc63..c6bf6e6 100644
--- a/src/gallium/drivers/i915/intel_winsys.h
+++ b/src/gallium/drivers/i915/intel_winsys.h
@@ -42,21 +42,21 @@ enum intel_buffer_usage
    INTEL_USAGE_2D_TARGET = 0x04,
    INTEL_USAGE_2D_SOURCE = 0x08,
    /* use on vertex */
-   INTEL_USAGE_VERTEX    = 0x10,
+   INTEL_USAGE_VERTEX    = 0x10
 };
 
 enum intel_buffer_type
 {
    INTEL_NEW_TEXTURE,
    INTEL_NEW_SCANOUT, /**< a texture used for scanning out from */
-   INTEL_NEW_VERTEX,
+   INTEL_NEW_VERTEX
 };
 
 enum intel_buffer_tile
 {
    INTEL_TILE_NONE,
    INTEL_TILE_X,
-   INTEL_TILE_Y,
+   INTEL_TILE_Y
 };
 
 struct intel_batchbuffer {




More information about the mesa-commit mailing list