MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / ClearToBlack

Method ClearToBlack

Source/SysGL/Graphics/GraphicsContextGL.cpp:161–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void GraphicsContextGL::ClearToBlack()
162{
163 glDepthMask(GL_TRUE);
164 glClearDepth( 1.0f );
165 glClearColor( 0.0f, 0.0f, 0.0f, 0.0f );
166 glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
167}
168
169void GraphicsContextGL::ClearZBuffer()
170{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected