summaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_trans_tmp.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-10-02 09:36:54 -0600
committerBrian Paul <[email protected]>2014-10-03 10:04:48 -0600
commitc7f0755caa1c39d5433e37c53242ef251aa4fc3a (patch)
tree3484bb8eed993aba214c09fefaf4a14d71af1eba /src/mesa/math/m_trans_tmp.h
parent33c9ad97bf25271fcb034bc6054b74fff8a552fb (diff)
mesa: fix spurious wglGetProcAddress / GL_INVALID_OPERATION error
On Windows, the Piglit primitive-restart test was failing a glGetError()==0 assertion when it was run w/out any command line arguments. Piglit's all.py script only runs primitive-restart with arguments so this case isn't normally hit during a full piglit run. The basic problem is Microsoft's opengl32.dll calls glFlush from wglGetProcAddress() and Piglit uses wglGetProcAddress() to resolve glPrimitiveRestartNV() which is called inside glBegin/End. See comments in the code for more info. Plus, improve the comments for _mesa_alloc_dispatch_table(). Cc: <[email protected]> Acked-by: Sinclair Yeh <[email protected]>
Diffstat (limited to 'src/mesa/math/m_trans_tmp.h')
0 files changed, 0 insertions, 0 deletions