| 1608 | } |
| 1609 | |
| 1610 | void rend_SetColorModel(color_model state) { |
| 1611 | switch (state) { |
| 1612 | case CM_MONO: |
| 1613 | gpu_state.cur_color_model = CM_MONO; |
| 1614 | break; |
| 1615 | case CM_RGB: |
| 1616 | gpu_state.cur_color_model = CM_RGB; |
| 1617 | break; |
| 1618 | default: |
| 1619 | Int3(); |
| 1620 | break; |
| 1621 | } |
| 1622 | } |
| 1623 | |
| 1624 | void rend_SetTextureType(texture_type state) { |
| 1625 | if (state == gpu_state.cur_texture_type) |
no outgoing calls
no test coverage detected