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

Function glTexStorage2D

GTE/Graphics/GL46/GL46.cpp:11099–11116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11097}
11098
11099void APIENTRY glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
11100{
11101 if (sglTexStorage2D)
11102 {
11103 sglTexStorage2D(target, levels, internalformat, width, height);
11104 ReportGLError("glTexStorage2D");
11105 }
11106 else
11107 {
11108 ReportGLNullFunction("glTexStorage2D");
11109 }
11110
11111#if defined(GTE_ENABLE_GLTRACE)
11112 gsTrace.Call("glTexStorage2D", "",
11113 gsTrace.GetName(target), levels, gsTrace.GetName(internalformat),
11114 width, height);
11115#endif
11116}
11117
11118void APIENTRY glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
11119{

Callers 3

GL46Texture1ArrayMethod · 0.85
GL46TextureCubeMethod · 0.85
GL46Texture2Method · 0.85

Calls 4

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80
GetNameMethod · 0.80

Tested by

no test coverage detected