summaryrefslogtreecommitdiff
path: root/glx/glxdriswrast.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-07-21 18:29:08 -0400
committerKristian Høgsberg <krh@redhat.com>2008-07-24 13:34:24 -0400
commitdff1a609bb4c0171e2abb92b54c16e739aec9ca2 (patch)
tree85f24a1545e05c024de9fd65640d64f4fdab8ed3 /glx/glxdriswrast.c
parent24dddcd0ef845f4120f8588dc63ec754338ffac8 (diff)
Drop the glx resize hook and stop chaining PositionWindow.
Diffstat (limited to 'glx/glxdriswrast.c')
-rw-r--r--glx/glxdriswrast.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index cf4827e5c..199f5f842 100644
--- a/glx/glxdriswrast.c
+++ b/glx/glxdriswrast.c
@@ -99,15 +99,6 @@ __glXDRIdrawableDestroy(__GLXdrawable *drawable)
}
static GLboolean
-__glXDRIdrawableResize(__GLXdrawable *drawable)
-{
- /* Nothing to do here, the DRI driver asks the server for drawable
- * geometry appropriately. */
-
- return GL_TRUE;
-}
-
-static GLboolean
__glXDRIdrawableSwapBuffers(__GLXdrawable *drawable)
{
__GLXDRIdrawable *private = (__GLXDRIdrawable *) drawable;
@@ -328,7 +319,6 @@ __glXDRIscreenCreateDrawable(__GLXscreen *screen,
}
private->base.destroy = __glXDRIdrawableDestroy;
- private->base.resize = __glXDRIdrawableResize;
private->base.swapBuffers = __glXDRIdrawableSwapBuffers;
private->base.copySubBuffer = __glXDRIdrawableCopySubBuffer;