MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / glfwInitHint

Function glfwInitHint

extern/glfw/src/init.c:277–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277GLFWAPI void glfwInitHint(int hint, int value)
278{
279 switch (hint)
280 {
281 case GLFW_JOYSTICK_HAT_BUTTONS:
282 _glfwInitHints.hatButtons = value;
283 return;
284 case GLFW_COCOA_CHDIR_RESOURCES:
285 _glfwInitHints.ns.chdir = value;
286 return;
287 case GLFW_COCOA_MENUBAR:
288 _glfwInitHints.ns.menubar = value;
289 return;
290 }
291
292 _glfwInputError(GLFW_INVALID_ENUM,
293 "Invalid init hint 0x%08X", hint);
294}
295
296GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev)
297{

Callers

nothing calls this directly

Calls 1

_glfwInputErrorFunction · 0.85

Tested by

no test coverage detected