* When creating display pixel format, do not use withSRGB as it could cause display creation to fail (when gamma correction is enabled). Based on online research, it seems that it is not necessary, and simply enabling SRGB writes on the main framebuffer is enough.
* Added additional checks when enabling SRGB writes to ensure the default framebuffer actually supports it, and print a warning if it doesn't.experimental
parent
52cd458601
commit
cfcc86dd8b
Loading…
Reference in new issue