diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index 60781e5a272..4eeeb2f8561 100644 --- a/src/mesa/drivers/dri/intel/intel_screen.c +++ b/src/mesa/drivers/dri/intel/intel_screen.c @@ -361,6 +361,7 @@ intel_get_param(__DRIscreen *psp, int param, int *value) int ret; struct drm_i915_getparam gp; + memset(&gp, 0, sizeof(gp)); gp.param = param; gp.value = value; |