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

Function glRecti

engine/source/platformAndroid/AndroidGL2ES.cpp:459–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457 glError = TEST_FOR_OPENGL_ERRORS
458}
459void glRecti( GLint x1, GLint y1, GLint x2, GLint y2 )
460{
461 AssertFatal( beginEndMode<0, "glRecti(): called inside glBegin/glEnd");
462 glBegin(GL_LINE_LOOP);
463 glVertex2i(x1, y1);
464 glVertex2i(x2, y1);
465 glVertex2i(x2, y2);
466 glVertex2i(x1, y2);
467 glEnd();
468 int glError;
469 glError = TEST_FOR_OPENGL_ERRORS
470}
471
472void glGetDoublev( GLint pname, GLdouble * params )
473{

Callers 2

renderFrameMethod · 0.50
dglDrawRectFillFunction · 0.50

Calls 3

glBeginFunction · 0.70
glVertex2iFunction · 0.70
glEndFunction · 0.70

Tested by

no test coverage detected