Age | Commit message (Collapse) | Author |
|
detected by Clang
changes in tr_main.c reviewed by SmileTheory
|
|
|
|
remove the USE_LOCAL_HEADERS option (it was broken anyway)
|
|
|
|
|
|
cleanup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
r_glossIsRoughness, r_specularIsMetallic, r_framebufferGamma, r_tonemapGamma, r_materialGamma, r_lightGamma
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
compressor as a workaround on Intel graphics.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The number of draw surfaces was range checked against number of surfaces for
the current view but needs to check total for the frame otherwise can read
past the end of the tr.refdef.drawSurfs array when there are multiple views.
|
|
Reserve space for end of list and swap buffer commands. These are absolutely
required and cannot be dropped. Dropping swap buffer command causes screen
to not update and possible crash from drawsurf buffer overflow if not enough
cmd buffer space for many continous frames.
|
|
|
|
Found by Coverity.
|
|
Found by Coverity.
|
|
Fixes possibly of reading memory past end of lightGridData or reading
wrong light grid data (wrapping around to next row).
|
|
Also change light grid bounds clamping to make it more clear what invalid
values are.
|