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

Function draw

source/examples/sparsetexture/main.cpp:146–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void draw()
147{
148 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
149
150 mapNextPage();
151
152 glViewport(0, 0, g_size.x, g_size.y);
153 g_quad->draw();
154}
155
156
157void error(int errnum, const char * errmsg)

Callers 1

mainFunction · 0.70

Calls 2

mapNextPageFunction · 0.85
drawMethod · 0.45

Tested by

no test coverage detected