mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-04-26 23:10:39 +02:00
intel: Quiet valgrind warnings in context creation.
This commit is contained in:
parent
c10b08d959
commit
7e3f08b463
1 changed files with 1 additions and 0 deletions
|
|
@ -2911,6 +2911,7 @@ drm_intel_gem_context_create(drm_intel_bufmgr *bufmgr)
|
|||
drm_intel_context *context = NULL;
|
||||
int ret;
|
||||
|
||||
VG_CLEAR(create);
|
||||
ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create);
|
||||
if (ret != 0) {
|
||||
DBG("DRM_IOCTL_I915_GEM_CONTEXT_CREATE failed: %s\n",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue