egl/gdi: fix typo: xsurf->gsurf
[mesa.git] / src / gallium / state_trackers / egl / gdi / native_gdi.c
index 3ec0dd241144c076f048aa6c8b9c93853c5741f0..d259e6edc8914f04944d98f841985a3f4dac3c72 100644 (file)
@@ -257,7 +257,7 @@ gdi_display_create_window_surface(struct native_display *ndpy,
    gdi_surface_update_geometry(&gsurf->base);
 
    gsurf->base.destroy = gdi_surface_destroy;
-   xsurf->base.present = gdi_surface_present;
+   gsurf->base.present = gdi_surface_present;
    gsurf->base.validate = gdi_surface_validate;
    gsurf->base.wait = gdi_surface_wait;