Bug 900020 - fix compilation - no review, bustage

This commit is contained in:
Benoit Jacob 2013-09-24 08:21:55 -04:00
Родитель fa992cb104
Коммит 57f2bcf3fa
1 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@ -41,11 +41,13 @@ CompositingRenderTargetOGL::BindRenderTarget()
result = mGL->fCheckFramebufferStatus(LOCAL_GL_FRAMEBUFFER);
}
if (result != LOCAL_GL_FRAMEBUFFER_COMPLETE) {
NS_WARNING("Framebuffer not complete -- CheckFramebufferStatus returned 0x%x, "
"GLContext=%p, IsOffscreen()=%d, mFBO=%d, aFBOTextureTarget=0x%x, "
"aRect.width=%d, aRect.height=%d",
result, mGL, mGL->IsOffscreen(), mFBO, mInitParams.mFBOTextureTarget,
mInitParams.mSize.width, mInitParams.mSize.height);
nsAutoCString msg;
msg.AppendPrintf("Framebuffer not complete -- CheckFramebufferStatus returned 0x%x, "
"GLContext=%p, IsOffscreen()=%d, mFBO=%d, aFBOTextureTarget=0x%x, "
"aRect.width=%d, aRect.height=%d",
result, mGL, mGL->IsOffscreen(), mFBO, mInitParams.mFBOTextureTarget,
mInitParams.mSize.width, mInitParams.mSize.height);
NS_WARNING(msg.get());
}
}