| 492 | } |
| 493 | |
| 494 | void GLProgram::SetName(const std::string_view name) |
| 495 | { |
| 496 | if (name.empty()) |
| 497 | return; |
| 498 | |
| 499 | #ifdef _DEBUG |
| 500 | glObjectLabel(GL_PROGRAM, m_program_id, name.length(), name.data()); |
| 501 | #endif |
| 502 | } |
| 503 | |
| 504 | void GLProgram::SetFormattedName(const char* format, ...) |
| 505 | { |
no test coverage detected