Re: [PATCH] sdl2: Check if window exists before updating it

2023-06-12 Thread Akihiko Odaki
On 2023/06/12 18:00, Marc-André Lureau wrote: Hi On Thu, Jun 8, 2023 at 4:56 PM Akihiko Odaki > wrote: A console does not have a window if the surface is a placeholder and the console is not the first one. sdl2 cannot update the texture in such a ca

Re: [PATCH] sdl2: Check if window exists before updating it

2023-06-12 Thread Marc-André Lureau
Hi On Thu, Jun 8, 2023 at 4:56 PM Akihiko Odaki wrote: > A console does not have a window if the surface is a placeholder and > the console is not the first one. sdl2 cannot update the texture in > such a case. > > Add a proper check for window existence. Such a check is only necessary > for the

Re: [PATCH] sdl2: Check if window exists before updating it

2023-06-09 Thread Antonio Caggiano
Reviewed-by: Antonio Caggiano On 08/06/2023 16:55, Akihiko Odaki wrote: A console does not have a window if the surface is a placeholder and the console is not the first one. sdl2 cannot update the texture in such a case. Add a proper check for window existence. Such a check is only necessary

[PATCH] sdl2: Check if window exists before updating it

2023-06-08 Thread Akihiko Odaki
A console does not have a window if the surface is a placeholder and the console is not the first one. sdl2 cannot update the texture in such a case. Add a proper check for window existence. Such a check is only necessary for the "gl" implementation as the "2d" implementation checks for the textur