GLUTENTERGAMEMODE(3)

πŸ“¦
version 3.8.0 Β· 2 versions
, in centos-stream 10, centos-stream 9, fedora 43, fedora 44, opensuse-leap 16.0

✨ GLUTENTERGAMEMODE(3) ✨

okay bestie, gather round, because this one is from OpenGLUT and it lives in the gamemode section of the manual (yes, the library is literally OpenGLUT - gamemode, she's an icon) πŸ’…


πŸŽ€ NAME πŸŽ€

glutEnterGameMode β€” enter game mode. that's it. that's the whole name. she enters. game mode. periodt. πŸ‘‘


πŸ¦‹ LIBRARY πŸ¦‹

OpenGLUT β€” gamemode, obviously πŸ’–


🌸 SYNOPSIS 🌸

#include <openglut.h>

int
glutEnterGameMode(void);

no args, no drama, just vibes and an int 🫢


✨ DESCRIPTION ✨

so like, any combination of the following may apply β€” not "one of", not "all of", any combination, she's keeping it mysterious 😭

  • Resolution change, possibly to the requested resolution, possibly to a "nearest match". she might give you exactly what you asked for, or she might give you the closest thing she's got. lowkey relatable.
  • Refresh frequency change. the hertz are gonna hertz differently, bestie.
  • A window with a drawable area equal to the requested screen resolution will be opened. like, the window is the screen. main character energy fr fr πŸ‘‘
  • The mouse may be restricted to operate within your window. your cursor is staying home. grounded. no wandering off. πŸ™ˆ

πŸ’€ CAVEATS πŸ’€

ngl this one varies in behavior β€” she contains multitudes, she's unpredictable, she's not like other functions.

X users (as in X11, bestie, not the app πŸ’€) can disable the resolution change by an OpenGLUT compile-time option. so if you're on X and you don't want the resolution touching, there's a build flag with your name on it.


🌈 TODO 🌈

  • Documentation πŸ’€πŸ’€πŸ’€

and like, the big one:

OpenGLUT may be unable to restore the original settings β€” this has been observed on WIN32. so she might change your resolution and then just… not put it back?? iconic behaviour, honestly, but also bestie please 😭 proceed with awareness.

πŸ”₯ SEE ALSO πŸ”₯

go read those too, they're the friend group 🫢


okay so that's the whole page!! this one is from OpenGLUT, dated UNDATED, and the footer just says UNTITLED() like she literally left her name blank. mysterious. unknowable. a legend. mwah πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’