summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/stw_device.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-05-12 16:33:30 -0600
committerBrian Paul <[email protected]>2016-06-30 12:43:49 -0600
commit24004a24359af16fcb8671e6b0478f3adee509a7 (patch)
treeb963aca6e332fe142c1bdad0163fedfe10a4bed4 /src/gallium/state_trackers/wgl/stw_device.h
parent058c70bae1a70d63671b2f37a10950b21e615802 (diff)
st/wgl: release the pbuffer DC at the end of wglBindTexImageARB()
Otherwise we were leaking DC GDI objects and if wglBindTexImageARB() was called enough we'd eventually hit the GDI limit of 10,000 objects. Things started failing at that point. v2: also release DC if we return early, per Charmaine. Reviewed-by: Charmaine Lee <[email protected]> Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_device.h')
0 files changed, 0 insertions, 0 deletions