This could be simplified as:

```
color_t color = (m_info.colorDiffuse) ? m_info.colorDiffuse : m_diffuseColor;
if (m_alpha != 0xFF)
  color = MIX_ALPHA(m_alpha, color);
```