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

Function FindExtEntry

src/SFGUI/GLLoader.cpp:1792–1803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1790static int g_extensionMapSize = 19;
1791
1792static sfgogl_StrToExtMap *FindExtEntry(const char *extensionName)
1793{
1794 int loop;
1795 sfgogl_StrToExtMap *currLoc = ExtensionMap;
1796 for(loop = 0; loop < g_extensionMapSize; ++loop, ++currLoc)
1797 {
1798 if(strcmp(extensionName, currLoc->extensionName) == 0)
1799 return currLoc;
1800 }
1801
1802 return NULL;
1803}
1804
1805static void ClearExtensionVars(void)
1806{

Callers 1

LoadExtByNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected