mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Fix a missing reciprocal..
--HG-- branch : minor
This commit is contained in:
@@ -1688,7 +1688,7 @@ void Graphics::polyline(const float *coords, size_t count)
|
|||||||
throw RenderOutsidePassException();
|
throw RenderOutsidePassException();
|
||||||
|
|
||||||
const DisplayState &state = states.back();
|
const DisplayState &state = states.back();
|
||||||
float pixelsize = std::max((float) pixelScaleStack.back(), 0.000001f);
|
float pixelsize = 1.0f / std::max((float) pixelScaleStack.back(), 0.000001f);
|
||||||
|
|
||||||
if (state.lineJoin == LINE_JOIN_NONE)
|
if (state.lineJoin == LINE_JOIN_NONE)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user