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

Function glDrawArrays

GTE/Graphics/GL46/GL46.cpp:2154–2165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2152static PFNGLISTEXTUREPROC sglIsTexture = nullptr;
2153
2154void APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count)
2155{
2156 if (sglDrawArrays)
2157 {
2158 sglDrawArrays(mode, first, count);
2159 ReportGLError("glDrawArrays");
2160 }
2161 else
2162 {
2163 ReportGLNullFunction("glDrawArrays");
2164 }
2165}
2166
2167void APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const void* indices)
2168{

Callers 2

DrawPrimitiveMethod · 0.85
glDrawArraysMethod · 0.85

Calls 2

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85

Tested by

no test coverage detected