MCPcopy Create free account
hub / github.com/aardappel/treesheets / ClearFrameBuffer

Function ClearFrameBuffer

lobster/src/glsystem.cpp:74–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void 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
79void Set2DMode(const int2 &ssize, bool lh, bool depthtest) {
80 GL_CALL(glDisable(GL_CULL_FACE));

Callers 2

OpenGLInitFunction · 0.85
AddGraphicsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected