| 943 | } |
| 944 | |
| 945 | void GL46Engine::ClearBuffers() |
| 946 | { |
| 947 | glClearColor(mClearColor[0], mClearColor[1], mClearColor[2], mClearColor[3]); |
| 948 | glClearDepth(mClearDepth); |
| 949 | glClearStencil(static_cast<GLint>(mClearStencil)); |
| 950 | glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); |
| 951 | } |
| 952 | |
| 953 | void GL46Engine::SetBlendState(std::shared_ptr<BlendState> const& state) |
| 954 | { |
no test coverage detected