GLUTEXTENSIONSUPPORTED(3)
β¨ GLUTEXTENSIONSUPPORTED(3) β¨
ok bestie so this is glutExtensionSupported from the OpenGLUT manual, section 3 (that's the library-call girlies π
). Library tag: OpenGLUT - opengl. Let's get into it π«Ά
πΈ NAME πΈ
glutExtensionSupported β figure out if an OpenGL extension is even available, no cap.
π LIBRARY π
OpenGLUT β opengl
β¨ SYNOPSIS β¨
#include <openglut.h>
int
glutExtensionSupported(const char *extension);
π PARAMETERS π
extensionβ a string-name of an extension. just the name, as a string, okay? π¦
π DESCRIPTION π
So like. This function returns 0 if OpenGLUT can't determine that the extension you asked for is definitely present. That's the whole vibe: no proof, no extension, you get a 0. π
It only checks extensions from glGetString(). that's the only source it's pulling from, periodt.
π TODO π
the devs left some notes and honestly? relatable:
- Wouldn't this be simpler and clearer if we used
strtok()? - Consider an
ogWarning()if there is no current rendering context. - This is an ugly bit of code with 3 return statements, one of which is never reached.
ngl bestie the last one is sending me π three return statements and one of them is literally never reached. it's giving decorative. it's giving set dressing. iconic behaviour fr fr π
π¦ SEE ALSO π¦
and that's the whole page, bestie!! π this lil manual page is UNDATED and its footer just says UNTITLED() β no version, no date, just vibes β¨ slay, go check your extensions, mwah ππ
π¦ where this page comes from
- centos-stream 10: freeglut-devel 3.4.0-9.el10 Β· MIT
- centos-stream 9: freeglut-devel 3.2.1-10.el9 Β· MIT
- centos-stream 9: freeglut-devel 3.2.1-10.el9 Β· MIT
- fedora 43: freeglut-devel 3.6.0-6.fc43 Β· MIT
- fedora 43: freeglut-devel 3.6.0-6.fc43 Β· MIT
- fedora 43: freeglut-devel 3.8.0-1.fc43 Β· MIT
- fedora 43: freeglut-devel 3.8.0-1.fc43 Β· MIT
- fedora 44: freeglut-devel 3.8.0-2.fc44 Β· MIT
- fedora 44: freeglut-devel 3.8.0-2.fc44 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- Copyright 2004, the OpenGLUT contributors
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms