aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/gdi/native_gdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/egl/gdi/native_gdi.c')
-rw-r--r--src/gallium/state_trackers/egl/gdi/native_gdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/gdi/native_gdi.c b/src/gallium/state_trackers/egl/gdi/native_gdi.c
index 3cc4aefa937..3c2475f84d8 100644
--- a/src/gallium/state_trackers/egl/gdi/native_gdi.c
+++ b/src/gallium/state_trackers/egl/gdi/native_gdi.c
@@ -363,7 +363,7 @@ gdi_display_destroy(struct native_display *ndpy)
if (gdpy->configs)
FREE(gdpy->configs);
- gdpy->base.screen->destroy(gdpy->base.screen);
+ ndpy_uninit(ndpy);
FREE(gdpy);
}