diff options
author | Brian Paul <[email protected]> | 2010-01-22 17:56:35 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-22 17:56:37 -0700 |
commit | 46c7cd665c9bc93e7254771b16b010fb10ce3707 (patch) | |
tree | 6179adba61ea2c8d21b35370248a67d0571b2b53 /src/mesa/state_tracker/st_context.h | |
parent | dd618a006aae870643049d191223c0dbc7ebc106 (diff) |
st/mesa: fix incorrect freeing of drawpixels vertex shaders
These shaders are not st_vertex_shaders, but tgsi ureg shaders.
Fixes fd.o bug 25959.
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r-- | src/mesa/state_tracker/st_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h index 2c4943cfb0a..50e98d7146a 100644 --- a/src/mesa/state_tracker/st_context.h +++ b/src/mesa/state_tracker/st_context.h @@ -159,7 +159,7 @@ struct st_context /** for glDraw/CopyPixels */ struct { struct st_fragment_program *z_shader; - struct st_vertex_program *vert_shaders[2]; + void *vert_shaders[2]; /**< ureg shaders */ } drawpix; /** for glClear */ |