summaryrefslogtreecommitdiffstats
path: root/include/d3dadapter/d3dadapter9.h
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2015-11-26 14:34:43 +1000
committerBen Skeggs <[email protected]>2015-12-22 13:24:05 +1000
commit323d4da372298900ce02293a682ba563ac29f4cb (patch)
treeb1c88e2101f095fdff42e86c28d066313b297283 /include/d3dadapter/d3dadapter9.h
parent6c1bfff66ca6dd9dac11507889ee17987bed31cb (diff)
nouveau: fix screen creation failure paths
The winsys layer would attempt to cleanup the nouveau_device if screen init failed, however, in most paths the pipe driver would have already destroyed it, resulting in accesses to freed memory etc. This commit fixes the problem by allowing the winsys to detect whether the pipe driver's destroy function needs to be called or not. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Tested-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'include/d3dadapter/d3dadapter9.h')
0 files changed, 0 insertions, 0 deletions