mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 12:31:40 +12:00
Shush warnings
This commit is contained in:
parent
f84935142a
commit
a8a76ab64d
1 changed files with 2 additions and 5 deletions
|
@ -466,8 +466,6 @@ void RendererGL::display() {
|
||||||
|
|
||||||
auto topScreen = colourBufferCache.findFromAddress(topScreenAddr);
|
auto topScreen = colourBufferCache.findFromAddress(topScreenAddr);
|
||||||
auto bottomScreen = colourBufferCache.findFromAddress(bottomScreenAddr);
|
auto bottomScreen = colourBufferCache.findFromAddress(bottomScreenAddr);
|
||||||
Helpers::warn("Top screen addr %08X\n", topScreenAddr);
|
|
||||||
|
|
||||||
screenFramebuffer.bind(OpenGL::DrawFramebuffer);
|
screenFramebuffer.bind(OpenGL::DrawFramebuffer);
|
||||||
|
|
||||||
if (topScreen) {
|
if (topScreen) {
|
||||||
|
@ -601,7 +599,7 @@ void RendererGL::displayTransfer(u32 inputAddr, u32 outputAddr, u32 inputSize, u
|
||||||
u32 outputHeight = outputSize >> 16;
|
u32 outputHeight = outputSize >> 16;
|
||||||
|
|
||||||
if (inputWidth != outputWidth) {
|
if (inputWidth != outputWidth) {
|
||||||
Helpers::warn("Strided display transfer is not handled correctly!\n");
|
// Helpers::warn("Strided display transfer is not handled correctly!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
auto srcFramebuffer = getColourBuffer(inputAddr, inputFormat, inputWidth, inputHeight);
|
auto srcFramebuffer = getColourBuffer(inputAddr, inputFormat, inputWidth, inputHeight);
|
||||||
|
@ -611,6 +609,7 @@ void RendererGL::displayTransfer(u32 inputAddr, u32 outputAddr, u32 inputSize, u
|
||||||
if (scaling == PICA::Scaling::X || scaling == PICA::Scaling::XY) {
|
if (scaling == PICA::Scaling::X || scaling == PICA::Scaling::XY) {
|
||||||
outputWidth >>= 1;
|
outputWidth >>= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (scaling == PICA::Scaling::XY) {
|
if (scaling == PICA::Scaling::XY) {
|
||||||
outputHeight >>= 1;
|
outputHeight >>= 1;
|
||||||
}
|
}
|
||||||
|
@ -618,8 +617,6 @@ void RendererGL::displayTransfer(u32 inputAddr, u32 outputAddr, u32 inputSize, u
|
||||||
auto dstFramebuffer = getColourBuffer(outputAddr, outputFormat, outputWidth, outputHeight);
|
auto dstFramebuffer = getColourBuffer(outputAddr, outputFormat, outputWidth, outputHeight);
|
||||||
Math::Rect dstRect = dstFramebuffer.getSubRect(outputAddr, outputWidth, outputHeight);
|
Math::Rect dstRect = dstFramebuffer.getSubRect(outputAddr, outputWidth, outputHeight);
|
||||||
|
|
||||||
Helpers::warn("Display transfer with outputAddr %08X\n", outputAddr);
|
|
||||||
|
|
||||||
// Blit the framebuffers
|
// Blit the framebuffers
|
||||||
srcFramebuffer.fbo.bind(OpenGL::ReadFramebuffer);
|
srcFramebuffer.fbo.bind(OpenGL::ReadFramebuffer);
|
||||||
dstFramebuffer.fbo.bind(OpenGL::DrawFramebuffer);
|
dstFramebuffer.fbo.bind(OpenGL::DrawFramebuffer);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue