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

Function glRecti

engine/source/platformEmscripten/EmscriptenGL2ES.cpp:451–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449 glError = TEST_FOR_OPENGL_ERRORS
450}
451void glRecti( GLint x1, GLint y1, GLint x2, GLint y2 )
452{
453 AssertFatal( beginEndMode<0, "glRecti(): called inside glBegin/glEnd");
454 glBegin(GL_LINE_LOOP);
455 glVertex2i(x1, y1);
456 glVertex2i(x2, y1);
457 glVertex2i(x2, y2);
458 glVertex2i(x1, y2);
459 glEnd();
460 int glError;
461 glError = TEST_FOR_OPENGL_ERRORS
462}
463
464void glGetDoublev( GLint pname, GLdouble * params )
465{

Callers

nothing calls this directly

Calls 3

glBeginFunction · 0.70
glVertex2iFunction · 0.70
glEndFunction · 0.70

Tested by

no test coverage detected