MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / glGetProcAddress

Function glGetProcAddress

src/Engine/OpenGL.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72} UnsafePointerContainer;
73
74inline static GenericFunctionPointer glGetProcAddress(const char *name) {
75 UnsafePointerContainer pc;
76 pc.ObjectPointer = SDL_GL_GetProcAddress(name);
77 return pc.FunctionPointer;
78}
79
80#ifndef __APPLE__
81PFNGLCREATEPROGRAMPROC glCreateProgram = 0;

Callers 1

initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected