Просмотр исходного кода

small fixes wrt texture handling

tags/R300_DRIVER_0
Daniel Borca 23 лет назад
Родитель
Сommit
0768744fde
1 измененных файлов: 5 добавлений и 5 удалений
  1. 5
    5
      src/mesa/drivers/glide/fxddtex.c

+ 5
- 5
src/mesa/drivers/glide/fxddtex.c Просмотреть файл

@@ -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

Загрузка…
Отмена
Сохранить