mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'ogl-blend-var-fix' into 'next'
Fix for #422 Closes #422 See merge request STJr/SRB2!1425
This commit is contained in:
commit
cde974e27c
1 changed files with 5 additions and 0 deletions
|
|
@ -1405,6 +1405,11 @@ boolean HWR_DrawModel(gl_vissprite_t *spr)
|
|||
|| ((!hwrBlendPatch->mipmap->format || !hwrBlendPatch->mipmap->downloaded) && !md2->noblendfile)))
|
||||
md2_loadBlendTexture(md2);
|
||||
|
||||
// Load it again, because it isn't being loaded into blendgpatch after md2_loadblendtexture...
|
||||
blendgpatch = md2->blendgrpatch;
|
||||
if (blendgpatch)
|
||||
hwrBlendPatch = ((GLPatch_t *)blendgpatch->hardware);
|
||||
|
||||
if (md2->error)
|
||||
return false; // we already failed loading this before :(
|
||||
if (!md2->model)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue