mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 18:48:28 +02:00
small fixes wrt texture handling
This commit is contained in:
parent
ef387549bd
commit
0768744fde
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue