mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* Fix to what is apparently a typo in the original Q3 code
* If patch stitching breaks in mysterious ways, this change might be why
This commit is contained in:
parent
db5faeaeaa
commit
aa3f7e1eb1
1 changed files with 1 additions and 1 deletions
|
@ -1214,7 +1214,7 @@ void R_MovePatchSurfacesToHunk(void) {
|
||||||
Com_Memcpy( hunkgrid->widthLodError, grid->widthLodError, grid->width * 4 );
|
Com_Memcpy( hunkgrid->widthLodError, grid->widthLodError, grid->width * 4 );
|
||||||
|
|
||||||
hunkgrid->heightLodError = ri.Hunk_Alloc( grid->height * 4, h_low );
|
hunkgrid->heightLodError = ri.Hunk_Alloc( grid->height * 4, h_low );
|
||||||
Com_Memcpy( grid->heightLodError, grid->heightLodError, grid->height * 4 );
|
Com_Memcpy( hunkgrid->heightLodError, grid->heightLodError, grid->height * 4 );
|
||||||
|
|
||||||
R_FreeSurfaceGridMesh( grid );
|
R_FreeSurfaceGridMesh( grid );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue