st/xorg: flip the coordinate system
authorZack Rusin <zackr@vmware.com>
Wed, 2 Sep 2009 21:21:28 +0000 (17:21 -0400)
committerZack Rusin <zackr@vmware.com>
Wed, 2 Sep 2009 21:21:28 +0000 (17:21 -0400)
src/gallium/state_trackers/xorg/xorg_composite.c

index fafd77f052619199494ecf7fbabfe38311689f63..d0cac75855b05d444b6e4f11c18d5c3740e55e27 100644 (file)
@@ -325,7 +325,7 @@ bind_viewport_state(struct exa_context *exa, PicturePtr pDstPicture)
    int width = pDstPicture->pDrawable->width;
    int height = pDstPicture->pDrawable->height;
 
-   set_viewport(exa, width, height, Y0_BOTTOM);
+   set_viewport(exa, width, height, Y0_TOP);
 }
 
 static void