Skip to content

Commit

Permalink
gen_nim.py: fix minor code gen bug related to floooh#1086
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Jul 30, 2024
1 parent 702e088 commit b073c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindgen/gen_nim.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit b073c61

Please sign in to comment.