mirror of https://github.com/bkaradzic/bgfx
Cleanup.
This commit is contained in:
parent
e9a199d22b
commit
9009ba50ba
|
@ -1548,7 +1548,8 @@ namespace bgfx
|
||||||
if (0 == bx::strCmp(name, "a_", 2)
|
if (0 == bx::strCmp(name, "a_", 2)
|
||||||
|| 0 == bx::strCmp(name, "i_", 2) )
|
|| 0 == bx::strCmp(name, "i_", 2) )
|
||||||
{
|
{
|
||||||
preprocessor.writef("attribute %s %s %s %s;\n"
|
preprocessor.writef(
|
||||||
|
"attribute %s %s %s %s;\n"
|
||||||
, var.m_precision.c_str()
|
, var.m_precision.c_str()
|
||||||
, var.m_interpolation.c_str()
|
, var.m_interpolation.c_str()
|
||||||
, var.m_type.c_str()
|
, var.m_type.c_str()
|
||||||
|
@ -1557,7 +1558,8 @@ namespace bgfx
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
preprocessor.writef("%s varying %s %s %s;\n"
|
preprocessor.writef(
|
||||||
|
"%s varying %s %s %s;\n"
|
||||||
, var.m_interpolation.c_str()
|
, var.m_interpolation.c_str()
|
||||||
, var.m_precision.c_str()
|
, var.m_precision.c_str()
|
||||||
, var.m_type.c_str()
|
, var.m_type.c_str()
|
||||||
|
|
Loading…
Reference in New Issue