diff options
author | Stéphane Marchesin <[email protected]> | 2012-01-18 13:03:56 -0800 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2012-01-18 13:22:27 -0800 |
commit | 81da773f841aa69debc473537750c475e6261e37 (patch) | |
tree | 207942b975a65a0222085478bd1c0230622fb25a /Makefile | |
parent | 8a472427559ea33186c71dfbab8254651fec3077 (diff) |
st/dri: Remove useless flush front.
In the following scenario:
- CreateContext C1
- MakeCurrent C1
- DestroyContext C1 (does not actually destroy the first context, postponed
until the next MakeCurrent)
- CreateContext C2
- MakeCurrent C2
MakeCurrent will call flush on a half destroyed context, leading to crashes.
Since the other paths (destroy and makecurrent) already flush the context,
there is no need to flush here, so we remove this useless flush front call.
This fixes GPU crashes with Chrome and gallium drivers.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions