summaryrefslogtreecommitdiff
path: root/src/sna/fb/fbpict.c
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-11 07:30:29 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-11 07:30:29 -0800
commitc4f30fa8253338176ec71f157200b8e2824c0f15 (patch)
tree6b7485eb6f028539ce3dcc40770ee35889eda025 /src/sna/fb/fbpict.c
parent1501461b978a770b6fc8883901d6c3d177661667 (diff)
downloadxf86-video-intel-c4f30fa8253338176ec71f157200b8e2824c0f15.tar.gz
xf86-video-intel-c4f30fa8253338176ec71f157200b8e2824c0f15.tar.bz2
xf86-video-intel-c4f30fa8253338176ec71f157200b8e2824c0f15.zip
Imported Upstream version 2.21.2upstream/2.21.2upstream
Diffstat (limited to 'src/sna/fb/fbpict.c')
-rw-r--r--src/sna/fb/fbpict.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/sna/fb/fbpict.c b/src/sna/fb/fbpict.c
index a2038518e..906a5f316 100644
--- a/src/sna/fb/fbpict.c
+++ b/src/sna/fb/fbpict.c
@@ -26,25 +26,19 @@
#include <string.h>
#include "fb.h"
-
-#include <picturestr.h>
-#include <mipict.h>
#include "fbpict.h"
static void
SourceValidateOnePicture(PicturePtr picture)
{
DrawablePtr drawable = picture->pDrawable;
- ScreenPtr screen;
if (!drawable)
return;
- screen = drawable->pScreen;
- if (screen->SourceValidate)
- screen->SourceValidate(drawable,
- 0, 0, drawable->width, drawable->height,
- picture->subWindowMode);
+ SourceValidate(drawable,
+ 0, 0, drawable->width, drawable->height,
+ picture->subWindowMode);
}
static void