Fix minor stuff

This commit is contained in:
Jérôme Leclercq
2021-05-19 20:32:16 +02:00
parent 49a2cda0a1
commit 35060ab24e
4 changed files with 1 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ namespace Nz
switch (PixelFormatInfo::GetContent(textureFormat))
{
case PixelFormatContent_ColorRGBA:
attachment = GL_COLOR_ATTACHMENT0 + colorAttachmentCount;
attachment = static_cast<GLenum>(GL_COLOR_ATTACHMENT0 + colorAttachmentCount);
colorAttachmentCount++;
break;