mirror of
https://github.com/holub/mame
synced 2025-06-24 13:26:36 +03:00
Fix lack of bgfx output on OS X, nw
This commit is contained in:
parent
8dff2200d0
commit
72365ec20a
@ -29,7 +29,8 @@ bgfx_uniform::~bgfx_uniform()
|
|||||||
|
|
||||||
void bgfx_uniform::upload()
|
void bgfx_uniform::upload()
|
||||||
{
|
{
|
||||||
bgfx::setUniform(m_handle, m_data);
|
if (m_type != bgfx::UniformType::Int1) // Avoid samplers; set separately!
|
||||||
|
bgfx::setUniform(m_handle, m_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
bgfx_uniform* bgfx_uniform::set(float* value)
|
bgfx_uniform* bgfx_uniform::set(float* value)
|
||||||
|
Loading…
Reference in New Issue
Block a user