From 5edbda7f1a77fea01aa198f97fb2384fb61cb3f4 Mon Sep 17 00:00:00 2001 From: Skipper Date: Sun, 1 Oct 2023 16:20:23 +0100 Subject: [PATCH] Remove line rendering for joystick --- src/ysgebl/src/shellrender/ysvisual.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ysgebl/src/shellrender/ysvisual.cpp b/src/ysgebl/src/shellrender/ysvisual.cpp index 2adb64a..36c1110 100644 --- a/src/ysgebl/src/shellrender/ysvisual.cpp +++ b/src/ysgebl/src/shellrender/ysvisual.cpp @@ -102,6 +102,7 @@ void YsVisualSrf::Draw(const YsMatrix4x4 &modelView,unsigned int drawFlag) const opt.solidPolygon=YSTRUE; opt.transparentPolygon=YSFALSE; opt.light=YSFALSE; + opt.polygonEdge=YSFALSE; this->Render(modelView,opt); } if(0!=(YsVisual::DRAWTRANSPARENT&drawFlag))