diff --git a/examples/common/nanovg/nanovg_bgfx.cpp b/examples/common/nanovg/nanovg_bgfx.cpp index 34524dfa..3808da57 100644 --- a/examples/common/nanovg/nanovg_bgfx.cpp +++ b/examples/common/nanovg/nanovg_bgfx.cpp @@ -271,7 +271,7 @@ namespace .add(bgfx::Attrib::TexCoord0, 2, bgfx::AttribType::Float) .end(); - int align = 1; + int align = 16; gl->fragSize = sizeof(struct GLNVGfragUniforms) + align - sizeof(struct GLNVGfragUniforms) % align; return 1;