X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=vg%2Fvg.h;h=f3ff15997c11072060a201dfc2c827088135f3e3;hb=ad02b7b8ea3a30296b11887c5e9bf252a9e32e95;hp=b35091b5aa5e2779e39c64ccf76bdad1dee225ee;hpb=bd3188f0fe52c9231f79af85d6cfaef2576b9f83;p=fishladder.git diff --git a/vg/vg.h b/vg/vg.h index b35091b..f3ff159 100644 --- a/vg/vg.h +++ b/vg/vg.h @@ -132,7 +132,7 @@ static inline int vg_get_button_up( const char *button ) static inline int key_is_keyboard( int const id ) { - static_assert( GLFW_MOUSE_BUTTON_LAST < GLFW_KEY_SPACE, "GLFW: Mouse has too many buttons" ); + vg_static_assert( GLFW_MOUSE_BUTTON_LAST < GLFW_KEY_SPACE, "GLFW: Mouse has too many buttons" ); return id > GLFW_MOUSE_BUTTON_LAST; }