Don't understand the first question. What's `atlas_texture_src`? Does it have a mode?
For the second question: converter toAddr[I, T](a: array[I, T]): ptr T = addr(a[0]) proc f(p: ptr int) = echo p[] var arr = [1, 2, 3] f(arr) #works on 2.0.2 Run
Don't understand the first question. What's `atlas_texture_src`? Does it have a mode?
For the second question: converter toAddr[I, T](a: array[I, T]): ptr T = addr(a[0]) proc f(p: ptr int) = echo p[] var arr = [1, 2, 3] f(arr) #works on 2.0.2 Run