diff options
| author | Andre Weissflog <floooh@gmail.com> | 2018-07-23 11:53:14 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2018-07-23 11:53:14 +0200 |
| commit | a9d0462a2c87e1968fbc6dcf2f2737551f8f5599 (patch) | |
| tree | 33519b2d22004d32737d5b97e9399a57aa6fec59 /sokol_gfx.h | |
| parent | 4d17d1eb0650c2e4a41464ca4b9bb0c26fc26077 (diff) | |
Add missing _SOKOL_UNUSED macro to sokol_gfx.h
Diffstat (limited to 'sokol_gfx.h')
| -rw-r--r-- | sokol_gfx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h index 1ce63ec1..89a5de6b 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -1593,6 +1593,10 @@ extern void sg_discard_context(sg_context ctx_id); #endif #endif +#ifndef _SOKOL_UNUSED + #define _SOKOL_UNUSED(x) (void)(x) +#endif + /* default clear values */ #ifndef SG_DEFAULT_CLEAR_RED #define SG_DEFAULT_CLEAR_RED (0.5f) |