mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Fix bug and potential bugs with painters not being reset between draws.
This commit is contained in:
@@ -70,6 +70,8 @@ void MapperGLCanvas::enterDraw(QPainter* painter)
|
||||
|
||||
// Antialiasing.
|
||||
painter->setRenderHint(QPainter::Antialiasing);
|
||||
painter->setPen(Qt::NoPen);
|
||||
painter->setBrush(Qt::NoBrush);
|
||||
}
|
||||
|
||||
void MapperGLCanvas::exitDraw(QPainter* painter)
|
||||
|
||||
Reference in New Issue
Block a user