mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-11-10 07:12:01 +00:00
Fix an integer shift overflow.
Thanks to Ozkan Sezer for pointing it out.
This commit is contained in:
parent
5270c22b4d
commit
2a9a9caf51
1 changed files with 1 additions and 1 deletions
|
@ -628,7 +628,7 @@ void R_ScanEdges(void){
|
|||
edge_aftertail.prev = &edge_tail;
|
||||
|
||||
// FIXME: do we need this now that we clamp x in r_draw.c?
|
||||
edge_sentinel.u = 2000 << 24; // make sure nothing sorts past this
|
||||
edge_sentinel.u = 32767 << 16; // make sure nothing sorts past this
|
||||
edge_sentinel.prev = &edge_aftertail;
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue