Re: [PATCH] ui/sdl2: Support multiple OpenGL-enabled windows

2023-06-08 Thread Antonio Caggiano
Hi Marc-André and Akihiko, On 07/06/2023 13:24, Akihiko Odaki wrote: On 2023/06/07 19:29, Marc-André Lureau wrote: Hi Antonio On Wed, Jun 7, 2023 at 1:13 PM Antonio Caggiano mailto:quic_acagg...@quicinc.com>> wrote:     Multiple graphics devices can be defined with an associated OpenGL    

Re: [PATCH] ui/sdl2: Support multiple OpenGL-enabled windows

2023-06-07 Thread Akihiko Odaki
On 2023/06/07 19:29, Marc-André Lureau wrote: Hi Antonio On Wed, Jun 7, 2023 at 1:13 PM Antonio Caggiano mailto:quic_acagg...@quicinc.com>> wrote: Multiple graphics devices can be defined with an associated OpenGL enabled SDL console, hence make sure to not destroy their shaders and

Re: [PATCH] ui/sdl2: Support multiple OpenGL-enabled windows

2023-06-07 Thread Marc-André Lureau
Hi Antonio On Wed, Jun 7, 2023 at 1:13 PM Antonio Caggiano wrote: > Multiple graphics devices can be defined with an associated OpenGL > enabled SDL console, hence make sure to not destroy their shaders and > windows. > > Signed-off-by: Antonio Caggiano > --- > ui/sdl2-gl.c | 2 +- > 1 file ch

[PATCH] ui/sdl2: Support multiple OpenGL-enabled windows

2023-06-07 Thread Antonio Caggiano
Multiple graphics devices can be defined with an associated OpenGL enabled SDL console, hence make sure to not destroy their shaders and windows. Signed-off-by: Antonio Caggiano --- ui/sdl2-gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/sdl2-gl.c b/ui/sdl2-gl.c index