summaryrefslogtreecommitdiffstats
path: root/src/gbm/main/gbm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gbm/main/gbm.c')
-rw-r--r--src/gbm/main/gbm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index 907ca3c90bf..c39cbfa7403 100644
--- a/src/gbm/main/gbm.c
+++ b/src/gbm/main/gbm.c
@@ -348,12 +348,6 @@ gbm_bo_create(struct gbm_device *gbm,
return NULL;
}
- if (usage & GBM_BO_USE_CURSOR_64X64 &&
- (width != 64 || height != 64)) {
- errno = EINVAL;
- return NULL;
- }
-
return gbm->bo_create(gbm, width, height, format, usage);
}