MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / glReadPixels

Method glReadPixels

GTE/Graphics/GL46/GL46.cpp:1069–1078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1067}
1068
1069void gte::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void* pixels)
1070{
1071 ::glReadPixels(x, y, width, height, format, type, pixels);
1072 ReportGLError("glReadPixels");
1073
1074#if defined(GTE_ENABLE_GLTRACE)
1075 gsTrace.Call("glReadPixels", "",
1076 x, y, width, height, gsTrace.GetName(format), gsTrace.GetName(type), "pixels");
1077#endif
1078}
1079
1080void gte::glGetBooleanv(GLenum pname, GLboolean* data)
1081{

Callers

nothing calls this directly

Calls 4

glReadPixelsFunction · 0.85
ReportGLErrorFunction · 0.85
CallMethod · 0.80
GetNameMethod · 0.80

Tested by

no test coverage detected