============= R_AddDrawViewCmd This is the main 3D rendering command. A single scene may have multiple views if a mirror, portal, or dynamic texture is present. ============= */
| 214 | ============= |
| 215 | */ |
| 216 | void R_AddDrawViewCmd( viewDef_t *parms ) { |
| 217 | drawSurfsCommand_t *cmd; |
| 218 | |
| 219 | cmd = (drawSurfsCommand_t *)R_GetCommandBuffer( sizeof( *cmd ) ); |
| 220 | cmd->commandId = RC_DRAW_VIEW; |
| 221 | |
| 222 | cmd->viewDef = parms; |
| 223 | |
| 224 | tr.pc.c_numViews++; |
| 225 | |
| 226 | R_ViewStatistics( parms ); |
| 227 | } |
| 228 | |
| 229 | |
| 230 | //================================================================================= |
no test coverage detected