summaryrefslogtreecommitdiffstats
path: root/docs/webmaster.html
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2012-11-09 14:06:40 -0800
committerChad Versace <[email protected]>2012-11-19 08:17:32 -0800
commit243cf7a924eaef78ce0d5150747fae6c3c4e6974 (patch)
treedc399fb5deed8146580785c7cfb00fc6b9d35dfe /docs/webmaster.html
parentddb901fbf4489ffcd85d3320f23913eb1d4fbdfe (diff)
i965: Validate requested GLES context version in brwCreateContext
For GLES1 and GLES2, brwCreateContext neglected to validate the requested context version received from the DRI layer. If DRI requested an OpenGL ES2 context with version 3.9, we provided it one. Before this fix, the switch statement that validated the requested GL context flavor was an ugly #ifdef copy-paste mess. Instead of reproducing the copy-past-mess for GLES1 and GLES2, I first refactored it. Now the switch statement is readable. Reviewed-by: Kenneth Graunke <[email protected]> Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'docs/webmaster.html')
0 files changed, 0 insertions, 0 deletions