mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
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:
parent
2df9941368
commit
cc85573a9f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue