diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index 2726c465..a6e625af 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -1917,7 +1917,7 @@ namespace bgfx float m_z; uint32_t m_abgr; } * vertex = (Vertex*)m_vb->data; - BX_CHECK(vertexDecl.m_stride == sizeof(Vertex), "Stride/Vertex mismatch (stride %d, sizeof(Vertex) %d)", stride, sizeof(Vertex) ); + BX_CHECK(vertexDecl.m_stride == sizeof(Vertex), "Stride/Vertex mismatch (stride %d, sizeof(Vertex) %d)", vertexDecl.m_stride, sizeof(Vertex) ); const uint32_t abgr = bx::endianSwap(_clear.m_rgba); const float depth = _clear.m_depth;