Perhaps some issue around windows ARGB?

Am 23.07.10, 10:24 -0700 schrieb Marko:
>   GLubyte Texture4[4][3] =
>    {
>
>
>      { 0x00, 0x00, 0xa0 },   // Dark Blue
>      { 0x00, 0x00, 0xff },   // Blue
>      { 0x00, 0xff, 0x00 },   // Green
>      { 0xff, 0x00, 0x00 }   // Red
>
>
>     };
>
> (other paremeter settings in here...)
>
>  glTexImage1D(GL_TEXTURE_1D, 0, GL_RGB, 4, 0, GL_RGB , GL_UNSIGNED_BYTE, 
> Texture4);
>
> Now this partly works the dark blue, blue and the green colour bands show up 
> just fine, but for some reason the red it just black.

_______________________________________________
fltk-opengl mailing list
fltk-opengl@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-opengl

Reply via email to