maxwel_to_gl: Fix string formatting in log statements.

This commit is contained in:
bunnei 2018-03-24 23:22:19 -04:00
parent d89bfec5f5
commit 527ce12ce4

View file

@ -23,7 +23,7 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) {
return GL_UNSIGNED_BYTE; return GL_UNSIGNED_BYTE;
} }
LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex size=%s", attrib.SizeString()); LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex size=%s", attrib.SizeString().c_str());
UNREACHABLE(); UNREACHABLE();
return {}; return {};
} }
@ -32,7 +32,7 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) {
return GL_FLOAT; return GL_FLOAT;
} }
LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex type=%s", attrib.TypeString()); LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex type=%s", attrib.TypeString().c_str());
UNREACHABLE(); UNREACHABLE();
return {}; return {};
} }