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

Function glBlendFuncSeparate

GTE/Graphics/GL46/GL46.cpp:2664–2681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2662static PFNGLBLENDEQUATIONPROC sglBlendEquation = nullptr;
2663
2664void APIENTRY glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
2665{
2666 if (sglBlendFuncSeparate)
2667 {
2668 sglBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
2669 ReportGLError("glBlendFuncSeparate");
2670 }
2671 else
2672 {
2673 ReportGLNullFunction("glBlendFuncSeparate");
2674 }
2675
2676#if defined(GTE_ENABLE_GLTRACE)
2677 gsTrace.Call("glBlendFuncSeparate", "",
2678 gsTrace.GetName(sfactorRGB), gsTrace.GetName(dfactorRGB),
2679 gsTrace.GetName(sfactorAlpha), gsTrace.GetName(dfactorAlpha));
2680#endif
2681}
2682
2683void APIENTRY glMultiDrawArrays(GLenum mode, const GLint* first, const GLsizei* count, GLsizei drawcount)
2684{

Callers 1

EnableMethod · 0.85

Calls 4

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

Tested by

no test coverage detected