MCPcopy Create free account
hub / github.com/cginternals/globjects / draw

Function draw

source/examples/shaderincludes/main.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void draw()
55{
56 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
57
58 glViewport(0, 0, g_size.x, g_size.y);
59 g_quad->draw();
60}
61
62
63void error(int errnum, const char * errmsg)

Callers 1

mainFunction · 0.70

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected