Hi Gabor, The only thing which (I think) has changed is the way that the texture is read in - so is this not expected behaviour? Or are you saying that the pdata order should be flipped so it retains the same behaviour as before? If so it would be a bit of an overhead, as the pdata would need to be reversed before uploading it to the gpu.
Or am I just missing something? cheers, dave On Mon, 2009-03-30 at 00:23 +0200, gabor papp wrote: > i'm trying to fix the fluxus invaders script to work with the flipped > textures and encountered a problem. because the png is flipped while > read, the pdata does not start from the top-left corner anymore. for > example, i use load-primitive to load a png file to a pixels primitive. > if i use (pdata-set! "c" 0 (vector 1 0 0)), i set the first pixel of the > last line, not the first pixel of the first line. > > best, > gabor
