egl/dri2: Fix a typo in a comment
authorAdam Jackson <ajax@redhat.com>
Tue, 13 Sep 2022 21:41:10 +0000 (17:41 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 16 Sep 2022 14:23:47 +0000 (14:23 +0000)
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18586>

src/egl/drivers/dri2/egl_dri2.c

index d9502ea..adc272c 100644 (file)
@@ -1887,7 +1887,7 @@ dri2_make_current(_EGLDisplay *disp, _EGLSurface *dsurf,
          /* dri2_dpy->core->bindContext succeeded, so take a reference on the
           * dri2_dpy. This prevents dri2_dpy from being reinitialized when a
           * EGLDisplay is terminated and then initialized again while a
-          * context is still bound. See dri2_intitialize() for a more in depth
+          * context is still bound. See dri2_initialize() for a more in depth
           * explanation. */
          p_atomic_inc(&dri2_dpy->ref_count);
       }