mirror of
https://github.com/ZDoom/zdbsp.git
synced 2024-11-10 06:31:35 +00:00
- Fixed: FProcessor::WriteGLVertices() used the normal vertices array instead of the GL one.
SVN r2335 (trunk)
This commit is contained in:
parent
478ecd5178
commit
c9406fbd45
1 changed files with 1 additions and 1 deletions
|
@ -1224,7 +1224,7 @@ void FProcessor::WriteReject (FWadWriter &out)
|
||||||
void FProcessor::WriteGLVertices (FWadWriter &out, bool v5)
|
void FProcessor::WriteGLVertices (FWadWriter &out, bool v5)
|
||||||
{
|
{
|
||||||
int i, count = (Level.NumGLVertices - Level.NumOrgVerts);
|
int i, count = (Level.NumGLVertices - Level.NumOrgVerts);
|
||||||
WideVertex *vertdata = Level.Vertices + Level.NumOrgVerts;
|
WideVertex *vertdata = Level.GLVertices + Level.NumOrgVerts;
|
||||||
|
|
||||||
fixed_t *verts = new fixed_t[count*2+1];
|
fixed_t *verts = new fixed_t[count*2+1];
|
||||||
char *magic = (char *)verts;
|
char *magic = (char *)verts;
|
||||||
|
|
Loading…
Reference in a new issue