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

Function glReadBuffer

engine/source/platformAndroid/AndroidGL2ES.cpp:429–434  ·  view source on GitHub ↗

void glOrtho( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { GLfloat tx = -(right+left)/(right-left); GLfloat ty = -(top+bottom)/(top-bottom); GLfloat tz = -(zFar+zNear)/(zFar-zNear); MatrixF m = MatrixF(true); ((F32*)m)[0] = 2.0f/(right-left); ((F32*)m)[3] = tx; ((F32*)m)[5] = 2.0f/(top-bottom); ((F32*)m)[7] = ty; ((F32*)m)[10] = -2.0f/(zFar-zNear); ((F32

Source from the content-addressed store, hash-verified

427// glMultMatrixf( (F32*)(m.transpose())); // make col major for opengl
428//}
429void glReadBuffer( GLint )
430{
431 AssertWarn( 0, "glReadBuffer(): this method call needs to be implemented");
432 int glError;
433 glError = TEST_FOR_OPENGL_ERRORS
434}
435void glClientActiveTextureARB( GLint texture )
436{
437 glClientActiveTexture( texture );

Callers 3

onRenderMethod · 0.50
ConsoleFunctionWithDocsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected