internal: Formatter rework (#3186)
This commit is contained in:
parent
c3a83daa1e
commit
61a71c65ac
48 changed files with 671 additions and 655 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
bool CFramebuffer::alloc(int w, int h) {
|
||||
bool firstAlloc = false;
|
||||
RASSERT((w > 1 && h > 1), "cannot alloc a FB with negative / zero size! (attempted %ix%i)", w, h);
|
||||
RASSERT((w > 1 && h > 1), "cannot alloc a FB with negative / zero size! (attempted {}x{})", w, h);
|
||||
|
||||
if (m_iFb == (uint32_t)-1) {
|
||||
firstAlloc = true;
|
||||
|
|
@ -40,9 +40,9 @@ bool CFramebuffer::alloc(int w, int h) {
|
|||
#endif
|
||||
|
||||
auto status = glCheckFramebufferStatus(GL_FRAMEBUFFER);
|
||||
RASSERT((status == GL_FRAMEBUFFER_COMPLETE), "Framebuffer incomplete, couldn't create! (FB status: %i)", status);
|
||||
RASSERT((status == GL_FRAMEBUFFER_COMPLETE), "Framebuffer incomplete, couldn't create! (FB status: {})", status);
|
||||
|
||||
Debug::log(LOG, "Framebuffer created, status %i", status);
|
||||
Debug::log(LOG, "Framebuffer created, status {}", status);
|
||||
}
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue