Module: Mesa Branch: master Commit: 77311dab3aae6630e61fc50013754cf2f4e5f90c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=77311dab3aae6630e61fc50013754cf2f4e5f90c
Author: Vinson Lee <[email protected]> Date: Wed Jul 17 20:42:03 2013 -0700 mesa: Remove commas at end of enumerator lists. Fixes these build errors on OpenBSD 5.3. In file included from ../../src/mesa/main/errors.h:47, from ../../src/mesa/main/imports.h:41, from ../../src/mesa/main/ff_fragment_shader.cpp:32: ../../src/mesa/main/mtypes.h:3286: error: comma at end of enumerator list ../../src/mesa/main/mtypes.h:3296: error: comma at end of enumerator list ../../src/mesa/main/mtypes.h:3303: error: comma at end of enumerator list ../../src/mesa/main/mtypes.h:3356: error: comma at end of enumerator list Signed-off-by: Vinson Lee <[email protected]> --- src/mesa/main/mtypes.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index ea139ea..aba7d84 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3283,7 +3283,7 @@ enum mesa_debug_source { MESA_DEBUG_SOURCE_THIRD_PARTY, MESA_DEBUG_SOURCE_APPLICATION, MESA_DEBUG_SOURCE_OTHER, - MESA_DEBUG_SOURCE_COUNT, + MESA_DEBUG_SOURCE_COUNT }; enum mesa_debug_type { @@ -3293,14 +3293,14 @@ enum mesa_debug_type { MESA_DEBUG_TYPE_PORTABILITY, MESA_DEBUG_TYPE_PERFORMANCE, MESA_DEBUG_TYPE_OTHER, - MESA_DEBUG_TYPE_COUNT, + MESA_DEBUG_TYPE_COUNT }; enum mesa_debug_severity { MESA_DEBUG_SEVERITY_LOW, MESA_DEBUG_SEVERITY_MEDIUM, MESA_DEBUG_SEVERITY_HIGH, - MESA_DEBUG_SEVERITY_COUNT, + MESA_DEBUG_SEVERITY_COUNT }; /** @} */ @@ -3353,7 +3353,7 @@ typedef enum API_OPENGLES, API_OPENGLES2, API_OPENGL_CORE, - API_OPENGL_LAST = API_OPENGL_CORE, + API_OPENGL_LAST = API_OPENGL_CORE } gl_api; /** _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
