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

Function glDrawRangeElements

GTE/Graphics/GL46/GL46.cpp:2369–2385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2367static PFNGLCOPYTEXSUBIMAGE3DPROC sglCopyTexSubImage3D = nullptr;
2368
2369void APIENTRY glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void* indices)
2370{
2371 if (sglDrawRangeElements)
2372 {
2373 sglDrawRangeElements(mode, start, end, count, type, indices);
2374 ReportGLError("glDrawRangeElements");
2375 }
2376 else
2377 {
2378 ReportGLNullFunction("glDrawRangeElements");
2379 }
2380
2381#if defined(GTE_ENABLE_GLTRACE)
2382 gsTrace.Call("glDrawRangeElements", "",
2383 gsTrace.GetTopology(mode), start, end, count, gsTrace.GetName(type), "indices");
2384#endif
2385}
2386
2387void APIENTRY glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels)
2388{

Callers 1

DrawPrimitiveMethod · 0.85

Calls 5

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80
GetNameMethod · 0.80
GetTopologyMethod · 0.45

Tested by

no test coverage detected