[GEM-dev] pix_texture2 does not respect upsidedown flag
IOhannes zmoelnig
zmoelnig at iem.kug.ac.at
Thu Dec 4 18:48:19 CET 2003
Henning Haaland Kulander wrote:
> Hi!
>
> While working on the filmFFMPEG.cpp file I have had problems getting the
> image to be displayed the correct way. I tried playing with the upsidedown
> flag in imageStruct, but it wouldn't work. I was using 05.film.pd for
> testing. When replacing pix_texture2 with pix_texture, I finally got it
> working.
>
> The problem with pix_texture2 is that the flipping is hardcoded using
> #ifdefs checking for the apple platform. This #ifdef is also done in line
> 108 in GemPixUtil.h, and will set upsidedown on all imageStructs on apple.
>
no, the problem is, that pix_texture2 is still in the code base.
[pix_texture2] is entirely covered by [pix_texture] (and should thus be
an alias to [pix_texture]), but with the new auto-registering stuff, it
came into life again
i will remove pix_texture2.cpp/.h from the repository now.
mfg.asd.r
IOhannes
More information about the GEM-dev
mailing list