summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-05-23 20:38:41 +0100
committerJosé Fonseca <[email protected]>2011-05-24 13:12:39 +0100
commitc3c1976f522a67be6a0619e938a90cf186ad42e6 (patch)
tree94a99b1612a0796894a23f84139621f8a47f97c5 /src/gallium/drivers/nvc0
parent5af46e836073d2112b147b524e441bdb808cc128 (diff)
wgl: Don't hold on to user supplied HDC.
Certain applications (e.g., Bernina My Label, and the Windows implementation of Processing language) destroy the device context used when creating the frame-buffer, causing presents to fail because we were still referring to the old device context internally. This change ensures we always use the same HDC passed to the ICD entry-points when available, or our own HDC when not available (necessary only when flushing on single buffered visuals).
Diffstat (limited to 'src/gallium/drivers/nvc0')
0 files changed, 0 insertions, 0 deletions