diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-03-12 20:37:41 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2008-03-12 20:37:41 +0800 |
commit | cd73c6a5a78eac726b14ef242b8452c559c4c003 (patch) | |
tree | 984fa95b80fa11e3af126adf485f532f89fd37e7 /src/xvmc/intel_xvmc.c | |
parent | 21580add63307ca68790bf911243b8675f5f7c64 (diff) |
Pass default visual in dri context create
Diffstat (limited to 'src/xvmc/intel_xvmc.c')
-rw-r--r-- | src/xvmc/intel_xvmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xvmc/intel_xvmc.c b/src/xvmc/intel_xvmc.c index 91a050f0..489a2c2c 100644 --- a/src/xvmc/intel_xvmc.c +++ b/src/xvmc/intel_xvmc.c @@ -337,7 +337,7 @@ Status XvMCCreateContext(Display *display, XvPortID port, pthread_mutex_init(&xvmc_driver->ctxmutex, NULL); /* context_id is alloc in _xvmc_create_context */ - if (!uniDRICreateContext(display, screen, NULL, + if (!uniDRICreateContext(display, screen, DefaultVisual(display, screen), context->context_id, &intel_ctx->hw_context)) { XVMC_ERR("Could not create DRI context for xvmc ctx %d.", |