[Mesa-dev] [PATCH 1/4] Initialize have_back.
Brian Paul
brianp at vmware.com
Tue Apr 27 14:53:43 PDT 2010
Pierre Willenbrock wrote:
> There is a user somewhere that tests it before its initial set.
> ---
> src/glx/dri2_glx.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
> index 9347611..73d11f1 100644
> --- a/src/glx/dri2_glx.c
> +++ b/src/glx/dri2_glx.c
> @@ -194,6 +194,7 @@ dri2CreateDrawable(__GLXscreenConfigs * psc,
> pdraw->base.psc = psc;
> pdraw->bufferCount = 0;
> pdraw->swap_interval = 1; /* default may be overridden below */
> + pdraw->have_back = 0;
>
> if (psc->config)
> psc->config->configQueryi(psc->__driScreen, "vblank_mode", &vblank_mode);
Committed. Thanks.
-Brian
More information about the mesa-dev
mailing list