Created
March 20, 2014 15:21
-
-
Save BitPuffin/9666225 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| proc alSetNewBitmapFlags*(flags: int) {.comalleg, importc: "al_set_new_bitmap_flags".} | |
| proc setNewBitmapFlags*(flags: varargs[TAllegroBitmapFlags]) = | |
| var f = 0 | |
| for fl in flags: | |
| f = f or fl | |
| alSetNewBitmapFlags(f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment