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

Method ClearColBuffer

Source/SysGL/Graphics/GraphicsContextGL.cpp:176–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void GraphicsContextGL::ClearColBuffer(const c32 & colour)
177{
178 glClearColor( colour.GetRf(), colour.GetGf(), colour.GetBf(), colour.GetAf() );
179 glClear( GL_COLOR_BUFFER_BIT );
180}
181
182void GraphicsContextGL::ClearColBufferAndDepth(const c32 & colour)
183{

Callers

nothing calls this directly

Calls 4

GetRfMethod · 0.80
GetGfMethod · 0.80
GetBfMethod · 0.80
GetAfMethod · 0.80

Tested by

no test coverage detected