diff options
| author | Andre Weissflog <floooh@gmail.com> | 2024-07-30 19:19:56 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2024-07-30 19:19:56 +0200 |
| commit | b073c61c6e1d27d3e8e40ad83ebca3bad62a9b01 (patch) | |
| tree | 2f4fb24b05de01fcae794750310a4eeabc5c5b8f /bindgen | |
| parent | 702e088528148767f3f101aee68968cd817fe238 (diff) | |
gen_nim.py: fix minor code gen bug related to https://github.com/floooh/sokol/pull/1086
Diffstat (limited to 'bindgen')
| -rw-r--r-- | bindgen/gen_nim.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bindgen/gen_nim.py b/bindgen/gen_nim.py index 59d2d42f..dab4f979 100644 --- a/bindgen/gen_nim.py +++ b/bindgen/gen_nim.py @@ -494,7 +494,7 @@ def gen_extra(inp): l(' const d3d11* = false') l(' const metal* = false') l(' const emscripten* = true') - l('elif when defined gl:') + l('elif defined gl:') l(' const gl* = true') l(' const d3d11* = false') l(' const metal* = false') |