SDL_EGLAttrib(3type)

πŸ’… SDL_EGLAttrib (3type) πŸ’…

okay so bestie, welcome to the SDL3 DATATYPES corner of the manual, where we talk about SDL_EGLAttrib ✨


πŸŽ€ NAME πŸŽ€

SDL_EGLAttrib β€” an EGL attribute, used when creating an EGL context. that's it, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

#include <SDL3/SDL_video.h>

typedef intptr_t SDL_EGLAttrib;

like. look at her. one typedef. no notes. iconic πŸ‘‘


🌸 AVAILABILITY 🌸

this datatype is available since SDL 3.2.0. so if you're on anything older than that, bestie, it's giving not found and you're gonna have a bad time 😭


fr fr: it's just an intptr_t underneath. don't overthink her, she's doing her best πŸ’–

Simple Directmedia Layer Β· SDL 3.4.18 β€” mwah, that's the source and the version, periodt πŸ’…βœ¨ πŸŽ€ πŸ¦‹ 🌸 🫢

πŸ“¦ where this page comes from