diff options
author | Brian Paul <[email protected]> | 2016-05-12 16:33:30 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-06-30 12:43:49 -0600 |
commit | 24004a24359af16fcb8671e6b0478f3adee509a7 (patch) | |
tree | b963aca6e332fe142c1bdad0163fedfe10a4bed4 /bin | |
parent | 058c70bae1a70d63671b2f37a10950b21e615802 (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 'bin')
0 files changed, 0 insertions, 0 deletions