MCPcopy Create free account
hub / github.com/TankOs/SFGUI / sfgogl_IsVersionGEQ

Function sfgogl_IsVersionGEQ

src/SFGUI/GLLoader.cpp:1963–1972  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1961}
1962
1963int sfgogl_IsVersionGEQ(int majorVersion, int minorVersion)
1964{
1965 if(g_major_version == 0)
1966 GetGLVersion();
1967
1968 if(majorVersion > g_major_version) return 0;
1969 if(majorVersion < g_major_version) return 1;
1970 if(g_minor_version >= minorVersion) return 1;
1971 return 0;
1972}
1973

Callers

nothing calls this directly

Calls 1

GetGLVersionFunction · 0.85

Tested by

no test coverage detected