commit | bfa3fea6b1d1bfe913b0b6af72ae647c82b0a12a | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@lunarg.com> | Tue Dec 16 00:43:20 2014 +0800 |
committer | Chia-I Wu <olv@lunarg.com> | Wed Dec 17 11:01:45 2014 +0800 |
tree | a540be38e854b5778ec677b05469f4ff335dbdb3 | |
parent | f27eba750c36d698209cdbb9c46132c37b943be5 [diff] [blame] |
layers: fix -Wswitch warnings
diff --git a/layers/draw_state.c b/layers/draw_state.c index b16a5ef..9ff8e2c 100644 --- a/layers/draw_state.c +++ b/layers/draw_state.c
@@ -154,7 +154,7 @@ } // Return the size of the underlying struct based on Bind Point enum // Have to do this b/c VIEWPORT doesn't have sType in its createinfo struct -static XGL_SIZE dynStateCreateInfoSize(XGL_STRUCTURE_TYPE sType) +static XGL_SIZE dynStateCreateInfoSize(XGL_STATE_BIND_POINT sType) { switch (sType) {