diff options
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r-- | src/mesa/main/attrib.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index dbcfb4edc7b..9e86faee346 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1428,8 +1428,7 @@ _mesa_PopAttrib(void) break; default: - _mesa_problem( ctx, "Bad attrib flag in PopAttrib"); - break; + unreachable("Bad attrib flag in PopAttrib"); } next = attr->next; @@ -1753,8 +1752,7 @@ _mesa_PopClientAttrib(void) break; } default: - _mesa_problem( ctx, "Bad attrib flag in PopClientAttrib"); - break; + unreachable("Bad attrib flag in PopClientAttrib"); } next = node->next; |