sage_init(3)

πŸ“¦ version 0.2.0, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

sage_init β€” the lil glow-up ritual that wakes the Sage library up and gets all its extension besties connected 🫢✨


🌸 SYNOPSIS 🌸

void sage_init (void)

✨ DESCRIPTION ✨

okay so picture this: Sage is just sitting there, asleep, no vibes, no nothing. sage_init is the function you call to initialise the Sage library πŸ’… and it's giving main character energy fr fr.

Here's what it actually does, no cap:

  • it links up the function pointers to the extensions that get reported by glGetString(GL_EXTENSIONS) πŸ”—
  • it sets the sage_ext array to 1 for every extension that actually exists βœ…

so basically it's a vibe check for your GPU's extension list, and whoever shows up gets a lil 1 in the sage_ext array. iconic.

⚠️ okay bestie, real talk: some Open GL implementations will report an extension in the GL_EXTENSIONS string but do not have the function implemented 😭. So the extension gets listed, the vibe check passes, and then... nothing. Be aware. Don't come for me, come for the drivers.

πŸŽ€ AUTHOR πŸŽ€

Simon Goodall (simon (at) simongoodall.co.uk) β€” the legend who made this whole thing happen πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹


and that's the tea, bestie πŸ“ this page came from the Library Functions Manual and it's dated September 22, 2005 β€” yes, a vintage icon, we stan a timeless queen πŸ’œπŸŒΈβœ¨

πŸ“¦ where this page comes from