mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-16 02:49:48 +12:00
[GL] Disable scissor in clearBuffer
This commit is contained in:
parent
79a341a297
commit
60655febba
1 changed files with 1 additions and 0 deletions
|
@ -471,6 +471,7 @@ void RendererGL::display() {
|
||||||
|
|
||||||
void RendererGL::clearBuffer(u32 startAddress, u32 endAddress, u32 value, u32 control) {
|
void RendererGL::clearBuffer(u32 startAddress, u32 endAddress, u32 value, u32 control) {
|
||||||
log("GPU: Clear buffer\nStart: %08X End: %08X\nValue: %08X Control: %08X\n", startAddress, endAddress, value, control);
|
log("GPU: Clear buffer\nStart: %08X End: %08X\nValue: %08X Control: %08X\n", startAddress, endAddress, value, control);
|
||||||
|
gl.disableScissor();
|
||||||
|
|
||||||
const auto color = colourBufferCache.findFromAddress(startAddress);
|
const auto color = colourBufferCache.findFromAddress(startAddress);
|
||||||
if (color) {
|
if (color) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue