Skip to content

Commit 78de3ff

Browse files
committed
Fix wrong colour format
1 parent 0c4a2a9 commit 78de3ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Utility/NVGGraphicsContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ void NVGGraphicsContext::setFill(FillType const& fillType)
198198
void NVGGraphicsContext::setOpacity(float op)
199199
{
200200
auto c = lastColour;
201-
nvgRGBAf(c.r, c.g, c.b, op);
201+
nvgRGBA(c.r, c.g, c.b, op);
202202
nvgFillColor(nvg, c);
203203
nvgStrokeColor(nvg, c);
204204
lastColour = c;

0 commit comments

Comments
 (0)