projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b70610b
)
draw: setup pipe's draw pointer for the aapoint stage
author
Brian Paul
<brianp@vmware.com>
Tue, 1 Mar 2011 01:25:37 +0000
(18:25 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 1 Mar 2011 01:25:37 +0000
(18:25 -0700)
The other draw stages like aaline and pstipple were already doing this.
If the driver used the aapoint stage but not the others it would crash
because of a null pipe->draw pointer.
src/gallium/auxiliary/draw/draw_pipe_aapoint.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pipe_aapoint.c
b/src/gallium/auxiliary/draw/draw_pipe_aapoint.c
index 5ea552f51c1130a13819f5c6df98ba6f60d507d3..60f6380c503c795dae612fec0af74e0e1c449393 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_pipe_aapoint.c
+++ b/
src/gallium/auxiliary/draw/draw_pipe_aapoint.c
@@
-874,6
+874,8
@@
draw_install_aapoint_stage(struct draw_context *draw,
{
struct aapoint_stage *aapoint;
+ pipe->draw = (void *) draw;
+
/*
* Create / install AA point drawing / prim stage
*/