diff options
author | José Fonseca <[email protected]> | 2012-02-02 13:19:56 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-02-02 14:45:30 +0000 |
commit | edb19707951306447daef43c1ea3cacec5f211fb (patch) | |
tree | ccc12b60d2772c28b11ba4955d511fc8ca1081ed /src/gallium/auxiliary/tgsi/tgsi_ureg.c | |
parent | efd73f72d8f34a40d6a1cd279fffa48dc13b6e5b (diff) |
draw: Avoid NULL pointer dereference when binding NULL fragment shaders.
Now that the draw module avoids flushing, it may flush precisely when
binding a NULL shader, so care must be taken when restoring the original
fragment shader.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.c')
0 files changed, 0 insertions, 0 deletions