You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I render this texture on screen, each time it is different. I can compile once and run multiple times - texture differs in all 4 channels each time. Can it be the uint8 conversion? I have no idea what this might be.
Versions:
nim 1.2
nlvm 1.2, compiled without static linking with llvm
SDL2 2.0.12
llvm9 9.0.1
PS in description it says that nlvm has faster compile times. For this program nim compiles in 1.2 seconds, nlvm in 5.4 seconds. Is it supposed to be like this?
The text was updated successfully, but these errors were encountered:
I use official nim library https://github.com/nim-lang/sdl2/blob/master/src/sdl2/ttf.nim to create font textures.
In my
config.nims
I haveand it works fine so far.
This is condensed code of how I create font texture:
When I render this texture on screen, each time it is different. I can compile once and run multiple times - texture differs in all 4 channels each time. Can it be the
uint8
conversion? I have no idea what this might be.Versions:
nim 1.2
nlvm 1.2, compiled without static linking with llvm
SDL2 2.0.12
llvm9 9.0.1
PS in description it says that nlvm has faster compile times. For this program nim compiles in 1.2 seconds, nlvm in 5.4 seconds. Is it supposed to be like this?
The text was updated successfully, but these errors were encountered: