| 18 | } |
| 19 | |
| 20 | bool RenderAdd_SetFrameBuffer(RenderCmdList *cmdList, const SetFrameBufferCmd &cmd) |
| 21 | { |
| 22 | auto ret = Render_AppendCmdType(cmdList, cmd._type, &cmd, sizeof(cmd)); |
| 23 | if (!cmdList->immediateMode) |
| 24 | { |
| 25 | return ret; |
| 26 | } |
| 27 | |
| 28 | RenderDraw_SetFrameBuffer(cmd, &cmdList->state); |
| 29 | return true; |
| 30 | } |
| 31 | |
| 32 | bool RenderAdd_DrawQuad(RenderCmdList *cmdList, const DrawQuadCmd &cmd) |
| 33 | { |
no test coverage detected