summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_manager.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-11-16 10:30:19 -0800
committerJordan Justen <[email protected]>2012-12-16 15:30:27 -0800
commit4bea4cb9fd55cdb267003a6e6e16f7e903e00940 (patch)
tree0d5005a91f6b578a9e4891a662a177a9ac0f4707 /src/mesa/state_tracker/st_manager.c
parent0924f4e90c47d9e4d7255cd1375c651523c9b1c5 (diff)
drivers: compute version and then initialize exec table
This change forces the context version to be computed before initilizing the exec dispatch tables. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_manager.c')
-rw-r--r--src/mesa/state_tracker/st_manager.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c
index e80f238753b..30f5ca5ed1e 100644
--- a/src/mesa/state_tracker/st_manager.c
+++ b/src/mesa/state_tracker/st_manager.c
@@ -647,8 +647,6 @@ st_api_create_context(struct st_api *stapi, struct st_manager *smapi,
/* need to perform version check */
if (attribs->major > 1 || attribs->minor > 0) {
- _mesa_compute_version(st->ctx);
-
/* Is the actual version less than the requested version?
*/
if (st->ctx->Version < attribs->major * 10 + attribs->minor) {