OpenGL: Switch to SRGB formats
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user