mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Merge branch 'master' of github.com:bkaradzic/bgfx
This commit is contained in:
commit
e05eddce21
1 changed files with 6 additions and 0 deletions
|
@ -3837,6 +3837,12 @@ namespace bgfx { namespace gl
|
|||
) );
|
||||
}
|
||||
|
||||
if (!convert
|
||||
&& unpackRowLength)
|
||||
{
|
||||
GL_CHECK(glPixelStorei(GL_UNPACK_ROW_LENGTH, 0) );
|
||||
}
|
||||
|
||||
if (NULL != temp)
|
||||
{
|
||||
BX_FREE(g_allocator, temp);
|
||||
|
|
Loading…
Reference in a new issue