testtext might be passed to DefWindowProcW in test_aw_conversion_dlgprocA, so
it must have a WCHAR null at the end.
* * *
@nsivov it's also potentially possible for a WCHAR string to go throught W->A conversion then be passed to DefWindowProcW. in that case i am not sure how to guarantee it is wide-null terminated. this doesn't current happen in our test cases though.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8342
On Tue Jun 17 15:09:00 2025 +0000, Paul Gofman wrote:
> This is not the case in practice, SwapBuffers works with NULL context in
> WGL and GLX. I recall it is depended on in practice, IIRC the launcher
> of Black Desert.
Okay well I'm going to change this again to move the surfaces to the DCs in the near future, so it won't be needing the context anymore.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8210#note_106853