mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Fixed alignment.
This commit is contained in:
parent
3205a164a2
commit
ae9da4b2a6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue