Correct spelling mistakes found with Codespell

This commit is contained in:
Casey Korver
2023-07-09 08:24:53 -05:00
committed by Cameron Gutman
parent e287ebcded
commit ea06ec0133
11 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -742,7 +742,7 @@ bool DrmRenderer::mapSoftwareFrame(AVFrame *frame, AVDRMFrameDescriptor *mappedF
else {
// UV/VU planes are 2x2 subsampled.
//
// NB: The pitch is the same between Y and UV/VU, becasuse the 2x subsampling
// NB: The pitch is the same between Y and UV/VU, because the 2x subsampling
// is cancelled out by the 2x plane size of UV/VU vs U/V alone.
planeHeight = frame->height / 2;
}
@@ -463,7 +463,7 @@ bool EGLRenderer::initialize(PDECODER_PARAMETERS params)
return false;
}
// This hint will ensure we use EGL to retreive our GL context,
// This hint will ensure we use EGL to retrieve our GL context,
// even on X11 where that is not the default. EGL is required
// to avoid a crash in Mesa.
// https://gitlab.freedesktop.org/mesa/mesa/issues/1011
@@ -40,7 +40,7 @@ bool WaylandVsyncSource::initialize(SDL_Window* window, int)
return false;
}
// Pacer shoud not create us for non-Wayland windows
// Pacer should not create us for non-Wayland windows
SDL_assert(info.subsystem == SDL_SYSWM_WAYLAND);
m_Display = info.info.wl.display;
@@ -249,7 +249,7 @@ public:
return -1;
}
// Free the ressources allocated during the last `exportEGLImages` call
// Free the resources allocated during the last `exportEGLImages` call
virtual void freeEGLImages(EGLDisplay, EGLImage[EGL_MAX_PLANES]) {}
#endif