SDL_HINT_PS2_GS_HEIGHT(3)
π 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
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms