[PATCH 4/5] win32u: Move null user driver implementation from user32.
Jacek Caban
jacek at codeweavers.com
Wed Nov 10 06:08:39 CST 2021
Hi Rémi,
On 11/10/21 12:41 AM, Rémi Bernon wrote:
> On 11/9/21 13:55, Jacek Caban wrote:
>> Signed-off-by: Jacek Caban <jacek at codeweavers.com>
>> ---
>> dlls/user32/driver.c | 209 +----------------------------
>> dlls/win32u/driver.c | 310 ++++++++++++++++++++++++++++++++++++++++++-
>> 2 files changed, 310 insertions(+), 209 deletions(-)
>>
>>
>
> A little bit related to my previous comment, this patch introduces a
> reset to "null" graphics driver on driver unload.
>
> I think it could also add the same
>
> __wine_set_display_driver( &null_driver, WINE_GDI_DRIVER_VERSION );
>
> call when the "null" driver is explicitly requested and loaded,
> possibly addressing my previous comment too (as the pointer would not
> be lasy_load_driver anymore).
Good point. I think we will need to use __wine_set_user_driver here
until more stuff is moved to win32u. I will send v2.
Thanks,
Jacek
More information about the wine-devel
mailing list