int val;
SDL_GL_GetAttribute(SDL_GL_FRAMEBUFFER_SRGB_CAPABLE, &val);
printf("SDL says we %s an sRGB framebuffer\n", val ? "got" : "didn't get");
int val;
SDL_GL_GetAttribute(SDL_GL_FRAMEBUFFER_SRGB_CAPABLE, &val);
printf("SDL says we %s an sRGB framebuffer\n", val ? "got" : "didn't get");