mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 00:34:32 +00:00
OpenGL: fix BRIGHTMAP sneaking into textures where it doesn't belong and creating artifacts
This commit is contained in:
parent
9382031337
commit
014cbdb3bb
1 changed files with 2 additions and 0 deletions
|
|
@ -1962,6 +1962,7 @@ EXPORT void HWRAPI(UpdateTexture) (GLMipmap_t *pTexInfo)
|
|||
|
||||
if (!(pTexInfo->flags & TF_BRIGHTMAP))
|
||||
{
|
||||
tex_downloaded = 0; // force update
|
||||
SetNoTexture(GL_TEXTURE1); // will be assigned later, if needed
|
||||
}
|
||||
|
||||
|
|
@ -2076,6 +2077,7 @@ EXPORT void HWRAPI(SetTexture) (GLMipmap_t *pTexInfo)
|
|||
{
|
||||
if (!(pTexInfo->flags & TF_BRIGHTMAP))
|
||||
{
|
||||
tex_downloaded = 0; // force update
|
||||
SetNoTexture(GL_TEXTURE1); // will be assigned later, if needed
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue