diff options
author | Jose Fonseca <[email protected]> | 2015-04-14 14:25:21 +0100 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2015-04-15 09:58:38 +0100 |
commit | 1aa50339d816c5d5ad3107673c315569ce9b21d3 (patch) | |
tree | bf37c492180c43cdfa11fce617569e8efc07a864 /src/gallium/auxiliary/postprocess | |
parent | 6635fb6cae702b195e9912747b5a11c41970ab9e (diff) |
st/wgl: Couple of fixes to opengl32.dll's wglCreateContext/wglDeleteContext dispatch.
- Use GetModuleHandle instead of LoadLibrary to avoid incrementing the
opengl32.dll reference count (otherwise the opengl32.dll will linger
in memory forever.)
- Ensure we use our fake wglCreateContext/wglDeleteContext when using
Mesa as a drop-in replacement for opengl32.dll
Untested. Just noticed by accident.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/postprocess')
0 files changed, 0 insertions, 0 deletions