This commit is contained in:
Бранимир Караџић 2019-08-15 21:55:09 -07:00
parent e9a199d22b
commit 9009ba50ba
1 changed files with 14 additions and 12 deletions

View File

@ -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()