diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-04-08 18:29:09 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-04-08 18:29:09 +0000 |
| commit | 432838b4b3dcb14526c57fd6c29483fd2a8202ed (patch) | |
| tree | f40269393f3ad0cbd144007c50414a739c1806df /Graphics/GraphicsEngineOpenGL | |
| parent | Fixed linux build error (diff) | |
| download | DiligentCore-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.cpp | 4 |
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]; } } |
