mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
fix copy & paste bug of previous commit, breaking dxt5 formats
This commit is contained in:
parent
c093666bc5
commit
54cab4b47b
1 changed files with 1 additions and 0 deletions
|
|
@ -652,6 +652,7 @@ static void intelUploadTexImage( intelContextPtr intel,
|
|||
case GL_RGBA_S3TC:
|
||||
case GL_RGBA4_S3TC:
|
||||
case GL_COMPRESSED_RGBA_S3TC_DXT3_EXT:
|
||||
case GL_COMPRESSED_RGBA_S3TC_DXT5_EXT:
|
||||
row_len = (image->Width * 4 + 15) & ~15;
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue