intel: Init num_fences to clean up valgrind warning.
Valgrind doesn't know that a successful getparam sets the target of the pointer, so just set the value beforehand.
This commit is contained in:
parent
d1c8a0a308
commit
cb4ef34214
|
@ -598,7 +598,7 @@ intel_init_bufmgr(intelScreenPrivate *intelScreen)
|
|||
GLboolean gem_supported;
|
||||
struct drm_i915_getparam gp;
|
||||
__DRIscreenPrivate *spriv = intelScreen->driScrnPriv;
|
||||
int num_fences;
|
||||
int num_fences = 0;
|
||||
|
||||
intelScreen->no_hw = getenv("INTEL_NO_HW") != NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue