Signed-off-by: Gerd Hoffmann
---
include/ui/sdl2.h | 8 ++--
ui/sdl2-gl.c | 36 +++-
2 files changed, 13 insertions(+), 31 deletions(-)
diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h
index aaf226c2c0..454367ac84 100644
--- a/include/ui/sdl2.h
+++ b/i
Hi,
> It's a bit weird to have win_fb used without being really
> initialized.
>
> Furthermore, there doesn't seem to be guarantee that
> glGenFramebuffers(1, &fb->framebuffer) will make only non-0 values.
0 is reserved for the default framebuffer of the current context, i.e.
the sdl window in
Hi
On Tue, Jun 6, 2017 at 3:05 PM Gerd Hoffmann wrote:
> Signed-off-by: Gerd Hoffmann
> ---
> include/ui/sdl2.h | 8 ++--
> ui/sdl2-gl.c | 38 --
> 2 files changed, 14 insertions(+), 32 deletions(-)
>
> diff --git a/include/ui/sdl2.h b/include/ui/s
Signed-off-by: Gerd Hoffmann
---
include/ui/sdl2.h | 8 ++--
ui/sdl2-gl.c | 38 --
2 files changed, 14 insertions(+), 32 deletions(-)
diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h
index aaf226c2c0..454367ac84 100644
--- a/include/ui/sdl2.h
+++ b