qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/4] sdl2: use framebuffer helper functions.


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 3/4] sdl2: use framebuffer helper functions.
Date: Mon, 12 Jun 2017 10:23:58 +0200

  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 this case.

cheers,
  Gerd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]