Merge pull request #1751 from SnapperTT/master
Fixes blitter not taking into account homogeneousDepth
This commit is contained in:
commit
5336ceaa3b
@ -3074,7 +3074,7 @@ BX_TRACE("%d, %d, %d, %s", _array, _srgb, _mipAutogen, getName(_format) );
|
|||||||
GL_CHECK(glUniform1i(program.m_sampler[0], 0) );
|
GL_CHECK(glUniform1i(program.m_sampler[0], 0) );
|
||||||
|
|
||||||
float proj[16];
|
float proj[16];
|
||||||
bx::mtxOrtho(proj, 0.0f, (float)width, (float)height, 0.0f, 0.0f, 1000.0f, 0.0f, true);
|
bx::mtxOrtho(proj, 0.0f, (float)width, (float)height, 0.0f, 0.0f, 1000.0f, 0.0f, g_caps.homogeneousDepth);
|
||||||
|
|
||||||
GL_CHECK(glUniformMatrix4fv(program.m_predefined[0].m_loc
|
GL_CHECK(glUniformMatrix4fv(program.m_predefined[0].m_loc
|
||||||
, 1
|
, 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user