summaryrefslogtreecommitdiff
path: root/glamor/glamor_core.c
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@linux.intel.com>2011-12-09 15:58:19 +0800
committerEric Anholt <eric@anholt.net>2013-12-18 11:23:46 -0800
commitb5630663cf9438383166f59cdfc7889571f2cd62 (patch)
treee02930bc8b7af157dd526aaca53b9df1fd968cae /glamor/glamor_core.c
parentb5480e64ac4a72bdc31e587ff9e51d67a1a0f11d (diff)
exports more rendering functions to DDX driver.
Exports all necessary rendering functions to DDx drivers, including CopyArea, Glyphs, Composite, Triangles, .... Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'glamor/glamor_core.c')
-rw-r--r--glamor/glamor_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_core.c b/glamor/glamor_core.c
index 8ba938fe3..4c58022a8 100644
--- a/glamor/glamor_core.c
+++ b/glamor/glamor_core.c
@@ -264,7 +264,7 @@ glamor_finish_access(DrawablePtr drawable)
glamor_get_screen_private(drawable->pScreen);
glamor_gl_dispatch *dispatch = &glamor_priv->dispatch;
- if (!GLAMOR_PIXMAP_PRIV_HAS_FBO(pixmap_priv))
+ if (!pixmap_priv || !GLAMOR_PIXMAP_PRIV_HAS_FBO(pixmap_priv))
return;
if (pixmap_priv->access_mode != GLAMOR_ACCESS_RO) {