mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
fix silly oversight in overlay stats string code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2279 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8784eac850
commit
a6c298abc7
@ -279,8 +279,9 @@ bool Renderer::Init()
|
||||
}
|
||||
}
|
||||
|
||||
if (s_ZBufferTarget == 0)
|
||||
if (s_ZBufferTarget == 0) {
|
||||
ERROR_LOG("disabling ztarget mrt feature (max mrt=%d)\n", nMaxMRT);
|
||||
}
|
||||
|
||||
//glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_STENCIL_ATTACHMENT_EXT, GL_RENDERBUFFER_EXT, s_DepthTarget);
|
||||
|
||||
@ -317,8 +318,9 @@ bool Renderer::Init()
|
||||
DEBUG_LOG("max program env parameters: vert=%d, frag=%d\n", nenvvertparams, nenvfragparams);
|
||||
DEBUG_LOG("max program address register parameters: vert=%d, frag=%d\n", naddrregisters[0], naddrregisters[1]);
|
||||
|
||||
if (nenvvertparams < 238)
|
||||
if (nenvvertparams < 238) {
|
||||
ERROR_LOG("not enough vertex shader environment constants!!\n");
|
||||
}
|
||||
|
||||
#ifndef _DEBUG
|
||||
cgGLSetDebugMode(GL_FALSE);
|
||||
@ -905,6 +907,7 @@ void Renderer::SwapBuffers()
|
||||
static unsigned long lasttime;
|
||||
char st[8192];
|
||||
char* p = st;
|
||||
p[0] = 0;
|
||||
|
||||
++fpscount;
|
||||
if (timeGetTime() - lasttime > 1000)
|
||||
|
Loading…
Reference in New Issue
Block a user