| Re: [hatari-devel] Suggested patch to fix the SDL GUI on KMS/DRM | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Suggested patch to fix the SDL GUI on KMS/DRM
- From: Jens Guenther <dbotw@xxxxxxx>
- Date: Sat, 31 Oct 2020 09:59:55 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;	s=badeba3b8450; t=1604134796;	bh=03Ep+LppZKUha/zfa57N0qXqGOkbhlc0B8j9jYY1jCY=;	h=X-UI-Sender-Class:Date:From:To:Subject:In-Reply-To:References;	b=W7Pt3ng0mU+OatcPPi8jxKBwdw3PMewCH7KjNu3DzZ1hb3MSJ/t5C1Vttd6hCyu3h	 uHcVOk1mcWpNqgjDJzo+U9suZh76SF3yQZo6pkp/kyZsTnzW1tkbQoktkQ8dZbDL/p	 OiGSQk5fHAp87h+ulQ5VHlUCQbVOjo36BuNLB+7A=
> Why is the call necessary with KMS/DRM and Wayland? Does it have any
> side effects there beside clearing the surface?
IMHO this is just a "workaround", but I'm also not an expert ... ;-)
Replacing "SDL_RenderClear" with "SDL_RenderDrawPoint" or similar
functions also fixes it for Wayland ...