OpenGL: Switch to SRGB formats

This commit is contained in:
Lynix 2020-05-11 14:01:45 +02:00
parent 3cf53c4d9a
commit 51009cd745
1 changed files with 2 additions and 2 deletions

View File

@ -22,13 +22,13 @@ namespace Nz
{ {
case PixelFormat_RGB8: case PixelFormat_RGB8:
{ {
internalFormat = GL_RGB8; internalFormat = GL_SRGB8;
break; break;
} }
case PixelFormat_RGBA8: case PixelFormat_RGBA8:
{ {
internalFormat = GL_RGBA8; internalFormat = GL_SRGB8_ALPHA8;
break; break;
} }
} }