| 137 | } |
| 138 | |
| 139 | void TriStepRenderDebug::Printf( int x, int y, uint32_t color, const char* msg, ... ) |
| 140 | { |
| 141 | va_list args; |
| 142 | va_start( args, msg ); |
| 143 | |
| 144 | Tr2Rect rect; |
| 145 | rect.top = y; |
| 146 | rect.left = x; |
| 147 | rect.bottom = rect.top + 512; |
| 148 | rect.right = rect.left + 1024; |
| 149 | |
| 150 | m_textRenderer->Vprintf( TRI_DBG_FONT_SMALL, rect, TRI_DFS_LEFT, ColorToVec4( color ), msg, args ); |
| 151 | va_end( args ); |
| 152 | } |
| 153 | |
| 154 | void TriStepRenderDebug::Printf( const Tr2Rect& rect, uint32_t format, uint32_t color, const char* msg, ... ) |
| 155 | { |
no test coverage detected