summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-11-05 22:36:38 -0800
committerIan Romanick <[email protected]>2014-01-20 11:31:59 -0800
commit9de863603d8092243df502365a75d65982223f0e (patch)
tree0e49c768abe940e76494bd19ad6c84dade3fbb7a /src/mesa/x86
parentf6d7cd4a11e70b816733cff681dde7d03588d1c8 (diff)
mesa: Initialize all the viewports
v2: Use MAX_VIEWPORTS instead of ctx->Const.MaxViewports because the driver may not set ctx->Const.MaxViewports yet. v3: Handle all viewport entries in update_viewport_matrix and _mesa_copy_context too. This was previously in an earlier patch. Having the code in the earlier patch could cause _mesa_copy_context to access a matrix that hadn't been constructed. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> [v2]
Diffstat (limited to 'src/mesa/x86')
0 files changed, 0 insertions, 0 deletions