| 72 | } |
| 73 | |
| 74 | void ClearFrameBuffer(const float3 &c) { |
| 75 | GL_CALL(glClearColor(c.x, c.y, c.z, 1.0)); |
| 76 | GL_CALL(glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)); |
| 77 | } |
| 78 | |
| 79 | void Set2DMode(const int2 &ssize, bool lh, bool depthtest) { |
| 80 | GL_CALL(glDisable(GL_CULL_FACE)); |
no outgoing calls
no test coverage detected