MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / BindBasicInfoProcs

Function BindBasicInfoProcs

src/video/opengl.cpp:224–231  ·  view source on GitHub ↗

Bind basic information functions. */

Source from the content-addressed store, hash-verified

222
223/** Bind basic information functions. */
224static bool BindBasicInfoProcs()
225{
226 if (!BindGLProc(_glGetString, "glGetString")) return false;
227 if (!BindGLProc(_glGetIntegerv, "glGetIntegerv")) return false;
228 if (!BindGLProc(_glGetError, "glGetError")) return false;
229
230 return true;
231}
232
233/** Bind OpenGL 1.0 and 1.1 functions. */
234static bool BindBasicOpenGLProcs()

Callers 1

InitMethod · 0.85

Calls 1

BindGLProcFunction · 0.85

Tested by

no test coverage detected