diff options
author | Brian Paul <[email protected]> | 2015-06-16 15:32:46 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-06-19 08:45:00 -0600 |
commit | 8d005a643ed94c1871ec854bc069366cdda6581f (patch) | |
tree | feeecfc69ec865034434585a0ea30620d3a8384e /src/gallium/state_trackers/wgl/Makefile.sources | |
parent | eee9247018d710659f14678715a85e4ad6f54366 (diff) |
stw: add some no-op functions for GL_EXT_dsa, GL_NV_half_float
Viewperf 12 calls wglGetProcAddress() to get pointers to some unsupported
DSA and half-float functions. We return NULL but Viewperf doesn't check
for null before trying to jump through the pointer. That causes a crash.
This patch adds no-op functions to call instead (used by the next patch).
This avoids the crash but the rendering is incorrect.
Some DSA functions are being added to Mesa at this time so we may be
able to remove some of these no-ops in the future.
More no-op functions may be added as needed.
VMware PR1383421
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/wgl/Makefile.sources')
-rw-r--r-- | src/gallium/state_trackers/wgl/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/Makefile.sources b/src/gallium/state_trackers/wgl/Makefile.sources index d204efd429a..8c463d5f18e 100644 --- a/src/gallium/state_trackers/wgl/Makefile.sources +++ b/src/gallium/state_trackers/wgl/Makefile.sources @@ -8,6 +8,7 @@ C_SOURCES := \ stw_ext_swapinterval.c \ stw_framebuffer.c \ stw_getprocaddress.c \ + stw_nopfuncs.c \ stw_pixelformat.c \ stw_st.c \ stw_tls.c \ |