ok that's clear. it works now. this is the syntax used in [pix_set] maybe you should have a look there as well. thanks n
Le 15/12/11 17:07, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
i had a look and found the following:
- the code was always buggy :-)
- it used fixed color offsets within pixels (e.g. "3" for "blue"), which
is simply wrong on OSX. Gem has special constants "chRed",... for platform independent color offsets.
- i also changed the color-type from GL_RGBA to GL_RGBA_GEM, which will
actually do the same (GL_RGBA on w32&linux and GEM_BGRA_EXT on osx) but with less confusion :-)