mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
Fix for E3L4 (and possible others) corrupt sectors.
git-svn-id: https://svn.eduke32.com/eduke32@1314 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6d5571f320
commit
f1f13f5eb6
1 changed files with 3 additions and 0 deletions
|
@ -2378,6 +2378,9 @@ static void polymer_buffertoplane(GLfloat* buffer, GLushort* indices, in
|
||||||
GLfloat vec1[5], vec2[5], norm, r;// BxN[3], NxT[3], TxB[3];
|
GLfloat vec1[5], vec2[5], norm, r;// BxN[3], NxT[3], TxB[3];
|
||||||
int32_t i;
|
int32_t i;
|
||||||
|
|
||||||
|
if (indices && (indicecount < 3))
|
||||||
|
return; // corrupt sector (E3L4, I'm looking at you)
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue