gallium: Fencing fix.

Make sure the struct pipe_fence_handle* we point st_flush() to is initialized
to NULL, so winsys->fence_reference() doesn't try to unreference a random
struct pipe_fence_handle* pointer.
This commit is contained in:
Michel Dänzer 2008-04-01 13:02:30 +01:00
parent 2df9941368
commit cc85573a9f

View file

@ -105,7 +105,7 @@ static void st_glFlush(GLcontext *ctx)
void st_finish( struct st_context *st )
{
struct pipe_fence_handle *fence;
struct pipe_fence_handle *fence = NULL;
st_gl_flush(st, PIPE_FLUSH_RENDER_CACHE, &fence);