Hans de Goede
2007-03-31 21:10:59 UTC
Hi all,
ClanLib contains some less then optimal code, which creates a texture in one
format and then does a partial upload (TexSubImage2D()) with another format,
this means that the OpenGL lib will need to convert things internally, as the
texture internally has the format given upon creation.
This less then optimal code also happens to trigger a bug in the (appereantly
not often used) conversion code when using mesa with a (any) ati radeon card.
The attached patch fixes ClanLib to use the same format in both cases.
For much more details on this, see:
https://bugs.freedesktop.org/show_bug.cgi?id=10491
Regards,
Hans
p.s.
I used to not be on the list, but I've subscribed now, I wonder did you guys
ever receive my fully rewritten X-windows fullscreen support ??
ClanLib contains some less then optimal code, which creates a texture in one
format and then does a partial upload (TexSubImage2D()) with another format,
this means that the OpenGL lib will need to convert things internally, as the
texture internally has the format given upon creation.
This less then optimal code also happens to trigger a bug in the (appereantly
not often used) conversion code when using mesa with a (any) ati radeon card.
The attached patch fixes ClanLib to use the same format in both cases.
For much more details on this, see:
https://bugs.freedesktop.org/show_bug.cgi?id=10491
Regards,
Hans
p.s.
I used to not be on the list, but I've subscribed now, I wonder did you guys
ever receive my fully rewritten X-windows fullscreen support ??