Skip to content

Commit fa755f6

Browse files
committed
ctr: oops all wrong blending
1 parent 172f88e commit fa755f6

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ build
99

1010
.DS_Store
1111
__cmake_systeminformation
12+
.cache

platform/ctr/include/driver/display/citro3d.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#pragma once
22

33
#include <3ds/gpu/enums.h>
4-
#include <c3d/framebuffer.h>
54
#include <citro3d.h>
65
#include <cstdint>
76

platform/ctr/source/modules/graphics/Graphics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ namespace love
379379
GPU_BLENDFACTOR dstA;
380380
citro3d::getConstant(state.dstFactorA, dstA);
381381

382-
C3D_AlphaBlend(opRGB, opA, srcRGB, srcA, dstRGB, dstA);
382+
C3D_AlphaBlend(opRGB, opA, srcRGB, dstRGB, srcA, dstA);
383383
}
384384

385385
this->states.back().blend = state;

0 commit comments

Comments
 (0)