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)
     {