MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / glBegin

Function glBegin

engine/source/platformEmscripten/EmscriptenGL2ES.cpp:177–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175
176
177void glBegin( GLint mode )
178{
179 if (beginEndMode >= 0) {
180 AssertFatal(0, "glBegin(): called without a glEnd");
181 }
182 beginEndMode = mode;
183 beginEndTexCoord2f_size = 0;
184 beginEndVertex_size = 0;
185 beginEndColor_size = 0;
186 beginEndNormal_size = 0;
187 int glError;
188 glError = TEST_FOR_OPENGL_ERRORS
189}
190
191void glEnd()
192{

Callers 3

glOutlineDrawElementsFunction · 0.70
glOutlineDrawArraysFunction · 0.70
glRectiFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected