small fixes wrt texture handling

This commit is contained in:
Daniel Borca 2003-11-03 12:16:22 +00:00
parent ef387549bd
commit 0768744fde

View file

@ -540,10 +540,10 @@ fxTexGetInfo(int w, int h, GrLOD_t * lodlevel, GrAspectRatio_t * ar,
l = MAX2(logw, logh);
aspectratio = logw - logh;
/* hardware only allows a maximum aspect ratio of 8x1, so handle
* |aspectratio| > 3 by scaling the image and using an 8x1 aspect
* ratio
*/
/* hardware only allows a maximum aspect ratio of 8x1, so handle
* |aspectratio| > 3 by scaling the image and using an 8x1 aspect
* ratio
*/
switch (aspectratio) {
case 0:
s = 256.0f;
@ -852,7 +852,7 @@ GLboolean fxDDIsCompressedFormat ( GLcontext *ctx, GLenum internalFormat )
/* [dBorca]
* we are handling differently the above formats from the generic
* GL_COMPRESSED_RGB[A]. For this, we will always have to separately
* check for the ones below!
* check for the ones below!
*/
#if FX_TC_NCC || FX_TC_NAPALM