include/Spectre/System/Log.h: implement a static "Log" class instead of just a function.
This commit is contained in:
parent
e10daeaaa6
commit
3b27db9435
8 changed files with 101 additions and 31 deletions
|
|
@ -108,11 +108,11 @@ void BatchRenderer2D::setBatchSize(unsigned short size)
|
|||
//glBindBuffer(GL_ARRAY_BUFFER, 0);
|
||||
|
||||
// Log
|
||||
log("BatchRenderer - BatchSize\n");
|
||||
log(" num sprites: %i\n", m_size);
|
||||
log(" num indices: %i\n", m_size * 6);
|
||||
log(" num vertices: %i\n", m_size);
|
||||
log("------\n");
|
||||
Log::info("BatchRenderer - BatchSize");
|
||||
Log::info(" num sprites: %i", m_size);
|
||||
Log::info(" num indices: %i", m_size * 6);
|
||||
Log::info(" num vertices: %i", m_size);
|
||||
Log::info("------");
|
||||
}
|
||||
|
||||
void BatchRenderer2D::begin()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue