SDL_HINT_PS2_GS_HEIGHT(3)

πŸ“¦
version 3.4.18 Β· 5 versions
, in fedora 43, fedora 44

πŸ’– SDL_HINT_PS2_GS_HEIGHT πŸ’–

okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, this one is short and sweet and it's all about the PlayStation 2's framebuffer, no cap πŸŽ€


✨ NAME ✨

SDL_HINT_PS2_GS_HEIGHT β€” a variable controlling the height of the PS2's framebuffer in pixels. literally just that. the height. in pixels. πŸ¦‹


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_hints.h>

#define SDL_HINT_PS2_GS_HEIGHT    "SDL_PS2_GS_HEIGHT"

so you pull in the header, and the hint itself is a #define pointing at the string "SDL_PS2_GS_HEIGHT" β€” that string is the name you'd actually use when setting the hint, iykyk πŸ’…


🫢 DESCRIPTION 🫢

By default, the variable is "448".

that's it. that's the whole vibe. 448 is the default, and the hint is the thing that controls the height of the PS2's framebuffer in pixels. no extra lore, no secret options, just a number chilling at "448" until you say otherwise ✨


πŸ‘‘ AVAILABILITY πŸ‘‘

This hint is available since SDL 3.4.0. if you're on anything older, bestie, it's simply not there yet 😭


heads up: this page came out of the Simple Directmedia Layer collection, and it's describing SDL 3.4.18 πŸ’– go forth and set your framebuffer height, you icon, you absolute main character 🧚
πŸ“¦ where this page comes from