summaryrefslogtreecommitdiffstats
path: root/src/glx/dri2_glx.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-22 22:36:37 -0400
committerKristian Høgsberg <[email protected]>2010-07-22 22:36:37 -0400
commiteeaab2047cfce8a7445fd9f835e737682eb503ac (patch)
tree8d84c9b7d03c4239077d4e8e4e7ac5aabb18faaa /src/glx/dri2_glx.c
parent7b7845a076c933e096ac511b4184141ba194449a (diff)
glx: Drop screen argument to GetGLXDRIDrawable
We'll just get it from the returned drawable when we need it.
Diffstat (limited to 'src/glx/dri2_glx.c')
-rw-r--r--src/glx/dri2_glx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index aa01203c61b..2f12387860e 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -397,7 +397,7 @@ static void
dri2_wait_x(__GLXcontext *gc)
{
struct dri2_drawable *priv = (struct dri2_drawable *)
- GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable, NULL);
+ GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable);
if (priv == NULL || !priv->have_fake_front)
return;
@@ -409,7 +409,7 @@ static void
dri2_wait_gl(__GLXcontext *gc)
{
struct dri2_drawable *priv = (struct dri2_drawable *)
- GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable, NULL);
+ GetGLXDRIDrawable(gc->currentDpy, gc->currentDrawable);
if (priv == NULL || !priv->have_fake_front)
return;
@@ -638,7 +638,7 @@ dri2_bind_tex_image(Display * dpy,
int buffer, const int *attrib_list)
{
GLXContext gc = __glXGetCurrentContext();
- __GLXDRIdrawable *base = GetGLXDRIDrawable(dpy, drawable, NULL);
+ __GLXDRIdrawable *base = GetGLXDRIDrawable(dpy, drawable);
__GLXdisplayPrivate *dpyPriv = __glXInitialize(dpy);
struct dri2_drawable *pdraw = (struct dri2_drawable *) base;
struct dri2_display *pdp =