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 fafd77f..d0cac75 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