I have added support for GL_RGB5_A1 texture type for the FX driver.
(Actually the setting of the Color depths in the texImage is
still missing.., could not find the relevant code for other
texture types either...)
IMHO for my use the extra bit (compared to GL_RGBA4) in color
resolution was usefull.

In addition to adding the trivial format conversions. I had to change

  fxTexGetFormat(tObj->Image[minl]->Format,
to
  fxTexGetFormat(tObj->Image[minl]->IntFormat

in fxsetup.c (around line 69), comments?


I guess this update could be added to the sources
after the CVS starts to work. Or it might wait 
until after the next release.


BTW. should GL_RGB10_A2 be handled as GL_RGB5_A1 or as
GL_RGBA4 ?


                Eero


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to