Convert warn to log
This commit is contained in:
@@ -273,6 +273,7 @@ void RendererGL::setupLogicOp() {
|
|||||||
GL_OR_INVERTED,
|
GL_OR_INVERTED,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// TODO: Enable logic op lmao
|
||||||
glLogicOp(logicOps[logicOp]);
|
glLogicOp(logicOps[logicOp]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -495,6 +496,7 @@ void RendererGL::clearBuffer(u32 startAddress, u32 endAddress, u32 value, u32 co
|
|||||||
OpenGL::clearColor();
|
OpenGL::clearColor();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto depth = depthBufferCache.findFromAddress(startAddress);
|
const auto depth = depthBufferCache.findFromAddress(startAddress);
|
||||||
if (depth) {
|
if (depth) {
|
||||||
float depthVal;
|
float depthVal;
|
||||||
@@ -515,7 +517,8 @@ void RendererGL::clearBuffer(u32 startAddress, u32 endAddress, u32 value, u32 co
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Helpers::warn("GPU: No buffer found!\n");
|
|
||||||
|
log("[RendererGL::ClearBuffer] No buffer found!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
OpenGL::Framebuffer RendererGL::getColourFBO() {
|
OpenGL::Framebuffer RendererGL::getColourFBO() {
|
||||||
|
|||||||
Reference in New Issue
Block a user