Re: [Mesa-dev] [PATCH 08/38] main: Refactor get_texture_for_framebuffer.

2015-05-01 Thread Fredrik Höglund
On Wednesday 04 March 2015, Laura Ekstrand wrote: > This moves a few blocks around so that the control flow is more obvious. If > the texture is 0, just return true at the beginning of the function. > Likewise, if the texObj is NULL, return true at the beginning of the funciton > as well. > --- >

[Mesa-dev] [PATCH 08/38] main: Refactor get_texture_for_framebuffer.

2015-03-03 Thread Laura Ekstrand
This moves a few blocks around so that the control flow is more obvious. If the texture is 0, just return true at the beginning of the function. Likewise, if the texObj is NULL, return true at the beginning of the funciton as well. --- src/mesa/main/fbobject.c | 43 +--