diff options
author | Emil Velikov <[email protected]> | 2014-01-25 15:23:41 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-02-11 19:00:09 +0000 |
commit | 76d9f6d9729db1c999317a6b44818aa90c30a0b3 (patch) | |
tree | a7af819510c90530eccf7c17d465759ebec2e125 /src/mesa/drivers/dri/nouveau/nouveau_driver.h | |
parent | 118c36adb4f2e3eec2327fccd59ed808f346aa73 (diff) |
dri/nouveau: Pass the API into _mesa_initialize_context
Currently we create a OPENGL_COMPAT context regardless of
what was requested by the program. Correct that by retaining
the program's request and passing it into _mesa_initialize_context.
Based on a similar commit for radeon/r200 by Ian Romanick.
Cc: "9.1 9.2 10.0" <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_driver.h')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_driver.h b/src/mesa/drivers/dri/nouveau/nouveau_driver.h index e03b2c1f98d..b6a827634c8 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_driver.h +++ b/src/mesa/drivers/dri/nouveau/nouveau_driver.h @@ -48,6 +48,7 @@ struct nouveau_driver { struct gl_context *(*context_create)(struct nouveau_screen *screen, + gl_api api, const struct gl_config *visual, struct gl_context *share_ctx); void (*context_destroy)(struct gl_context *ctx); |