Remove entire if and contents
This commit is contained in:
parent
82b2581d79
commit
bf8e32f6f6
1 changed files with 0 additions and 12 deletions
|
@ -1097,18 +1097,6 @@ void FramebufferManager::DeviceLost() {
|
||||||
|
|
||||||
void FramebufferManager::BeginFrame() {
|
void FramebufferManager::BeginFrame() {
|
||||||
DecimateFBOs();
|
DecimateFBOs();
|
||||||
// NOTE - this is all wrong. At the beginning of the frame is a TERRIBLE time to draw the fb.
|
|
||||||
if (displayFramebufPtr_) {
|
|
||||||
INFO_LOG(HLE, "Drawing the framebuffer (%08x)", displayFramebufPtr_);
|
|
||||||
const u8 *pspframebuf = Memory::GetPointer((0x44000000) | (displayFramebufPtr_ & 0x1FFFFF)); // TODO - check
|
|
||||||
glstate.cullFace.disable();
|
|
||||||
glstate.depthTest.disable();
|
|
||||||
glstate.blend.disable();
|
|
||||||
glstate.scissorTest.disable();
|
|
||||||
glstate.stencilTest.disable();
|
|
||||||
DrawPixels(pspframebuf, displayFormat_, displayStride_);
|
|
||||||
// TODO: restore state?
|
|
||||||
}
|
|
||||||
currentRenderVfb_ = 0;
|
currentRenderVfb_ = 0;
|
||||||
useBufferedRendering_ = g_Config.iRenderingMode != FB_NON_BUFFERED_MODE ? 1 : 0;
|
useBufferedRendering_ = g_Config.iRenderingMode != FB_NON_BUFFERED_MODE ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue