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

Function deinitialize

source/examples/states/main.cpp:103–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void deinitialize()
104{
105 g_shaderProgram->unref();
106 g_vao->unref();
107 g_buffer->unref();
108 g_thinnestPointSizeState->unref();
109 g_thinPointSizeState->unref();
110 g_normalPointSizeState->unref();
111 g_thickPointSizeState->unref();
112 g_disableRasterizerState->unref();
113 g_enableRasterizerState->unref();
114 g_defaultPointSizeState->unref();
115
116 globjects::detachAllObjects();
117}
118
119void draw()
120{

Callers 1

mainFunction · 0.70

Calls 2

detachAllObjectsFunction · 0.85
unrefMethod · 0.80

Tested by

no test coverage detected