diff options
Diffstat (limited to 'tests/gem_ctx_create.c')
-rw-r--r-- | tests/gem_ctx_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_ctx_create.c b/tests/gem_ctx_create.c index f22522b85..1d9ff86c1 100644 --- a/tests/gem_ctx_create.c +++ b/tests/gem_ctx_create.c @@ -47,7 +47,7 @@ int main(int argc, char *argv[]) create.ctx_id = rand(); create.pad = rand(); - fd = drm_open_any(); + fd = drm_open_any_render(); ret = drmIoctl(fd, CONTEXT_CREATE_IOCTL, &create); if (ret != 0 && (errno == ENODEV || errno == EINVAL)) { |