summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-04-08 18:29:09 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-04-08 18:29:09 +0000
commit432838b4b3dcb14526c57fd6c29483fd2a8202ed (patch)
treef40269393f3ad0cbd144007c50414a739c1806df /Graphics/GraphicsEngineOpenGL
parentFixed linux build error (diff)
downloadDiligentCore-432838b4b3dcb14526c57fd6c29483fd2a8202ed.tar.gz
DiligentCore-432838b4b3dcb14526c57fd6c29483fd2a8202ed.zip
Fixed another couple of linux build issues
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/GLTypeConversions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/GLTypeConversions.cpp b/Graphics/GraphicsEngineOpenGL/src/GLTypeConversions.cpp
index e53849f3..7485cf1f 100644
--- a/Graphics/GraphicsEngineOpenGL/src/GLTypeConversions.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/GLTypeConversions.cpp
@@ -176,7 +176,7 @@ GLenum TexFormatToGLInternalTexFormat(TEXTURE_FORMAT TexFormat, Uint32 BindFlags
}
else
{
- UNEXPECTED( "Texture format (", TexFormat, ") out of allowed range [0, ", TEX_FORMAT_NUM_FORMATS-1, "]" );
+ UNEXPECTED( "Texture format (", int{TexFormat}, ") out of allowed range [0, ", int{TEX_FORMAT_NUM_FORMATS}-1, "]" );
return 0;
}
}
@@ -389,7 +389,7 @@ NativePixelAttribs GetNativePixelTransferAttribs(TEXTURE_FORMAT TexFormat)
}
else
{
- UNEXPECTED( "Texture format (", TexFormat, ") is out of allowed range [1, ", TEX_FORMAT_NUM_FORMATS-1, "]" );
+ UNEXPECTED( "Texture format (", int{TexFormat}, ") is out of allowed range [1, ", int{TEX_FORMAT_NUM_FORMATS}-1, "]" );
return FmtToGLPixelFmt[0];
}
}