summaryrefslogtreecommitdiff
path: root/glamor/glamor_egl.c
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@linux.intel.com>2012-04-28 13:43:39 +0800
committerEric Anholt <eric@anholt.net>2013-12-18 11:23:51 -0800
commit0d846d95699fadcddcc77b8d6e432e969467dab2 (patch)
treef87c3593a8b24711f6a50bd49897d1aa0fc842fc /glamor/glamor_egl.c
parent503f8ec1a670e73f41314a5e94cdde8782d7cbab (diff)
Added --enable-debug configuration option.
For release version, we disable asserts. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'glamor/glamor_egl.c')
-rw-r--r--glamor/glamor_egl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c
index 081b363ab..c2627b9ce 100644
--- a/glamor/glamor_egl.c
+++ b/glamor/glamor_egl.c
@@ -287,7 +287,8 @@ glamor_egl_create_textured_pixmap(PixmapPtr pixmap, int handle, int stride)
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
"Couldn't flink pixmap handle\n");
glamor_set_pixmap_type(pixmap, GLAMOR_DRM_ONLY);
- exit(1);
+ assert(0);
+ return FALSE;
}
} else
name = handle;