summaryrefslogtreecommitdiffstats
path: root/src/libXvMC/context.c
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2008-07-22 22:26:26 -0400
committerYounes Manton <[email protected]>2008-07-22 22:41:31 -0400
commit0c25ac52425e6d6eb037b99ab90f41b47e3f4491 (patch)
tree67c8739b48a6210e51858189b0583552cee65f2c /src/libXvMC/context.c
parent90bd0e338d315c426c2d0255331610055023739e (diff)
g3dvl: Add Nouveau winsys, libdriclient.
Nouveau winsys is based on Mesa's Nouveau winsys and soft-links to most of it. The 'nouveau_context' and 'nouveau_screen' code contains most of the changes, 'nouveau_winsys_pipe', 'nouveau_swapbuffers' and 'nouveau_lock' contain some minor changes. The driclient library contains the DRI userland stuff, most of which was based on Mesa's DRI code.
Diffstat (limited to 'src/libXvMC/context.c')
-rw-r--r--src/libXvMC/context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libXvMC/context.c b/src/libXvMC/context.c
index 22eadc1889b..59e1cb2b256 100644
--- a/src/libXvMC/context.c
+++ b/src/libXvMC/context.c
@@ -2,7 +2,7 @@
#include <X11/Xlib.h>
#include <X11/extensions/XvMClib.h>
#include <vl_context.h>
-#include <xsp_winsys.h>
+#include <vl_winsys.h>
static Status Validate(Display *display, XvPortID port, int surface_type_id, unsigned int width, unsigned int height, int flags, int *chroma_format)
{
@@ -117,7 +117,7 @@ Status XvMCCreateContext(Display *display, XvPortID port, int surface_type_id, i
if (ret != Success)
return ret;
- pipe = create_pipe_context(display);
+ pipe = create_pipe_context(display, XDefaultScreen(display));
assert(pipe);