From: Gareth H. <ga...@va...> - 2001-03-27 21:58:00
|
Gareth Hughes wrote: > > > With these latest changes it appears to me that the Format and Type > > fields in gl_texture_image are redundant with respect to the BaseFormat > > and BaseType fields in the gl_texture_format struct. I'd like to > > remove Format and Type from the former and use the later instead. > > I'll work on that too. Don't do this -- it's broken. At the moment, when the hardware has to store GL_ALPHA textures in a GL_LUMINANCE_ALPHA format, for instance, texFormat->BaseFormat is incorrectly GL_LUMINANCE_ALPHA instead of GL_ALPHA. This is obviously broken (try running texenv on the 3.5 radeon driver). I'm going to undo and rethink this change. -- Gareth |