| 114 | } |
| 115 | |
| 116 | bool RenderAdd_DrawLine(RenderCmdList *cmdList, const DrawLineCmd &cmd) |
| 117 | { |
| 118 | auto ret = Render_AppendCmdType(cmdList, cmd._type, &cmd, sizeof(cmd)); |
| 119 | if (!cmdList->immediateMode) |
| 120 | { |
| 121 | return ret; |
| 122 | } |
| 123 | |
| 124 | RenderDraw_DrawLine(cmd, &cmdList->state); |
| 125 | return true; |
| 126 | } |
| 127 | |
| 128 | bool RenderAdd_SetAlphaTest(RenderCmdList *cmdList, const AlphaTestCmd &cmd) |
| 129 | { |
no test coverage detected