[vlc-devel] [PATCH 2/2] GLwin32, WGL: fix typos

Adrien Maglo magsoft at videolan.org
Thu Jun 9 12:12:00 CEST 2016


---
 modules/video_output/win32/glwin32.c | 4 ++--
 modules/video_output/win32/wgl.c     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/video_output/win32/glwin32.c b/modules/video_output/win32/glwin32.c
index 0e04446..01bae19 100644
--- a/modules/video_output/win32/glwin32.c
+++ b/modules/video_output/win32/glwin32.c
@@ -86,7 +86,7 @@ static void CreateGPUAffinityDC(vout_display_t *vd, UINT nVidiaAffinity) {
     HGLRC hGLRC = wglCreateContext(winDC);
     wglMakeCurrent(winDC, hGLRC);
 
-    /* Initialize the neccessary function pointers */
+    /* Initialize the necessary function pointers */
     PFNWGLENUMGPUSNVPROC fncEnumGpusNV = (PFNWGLENUMGPUSNVPROC)wglGetProcAddress("wglEnumGpusNV");
     PFNWGLCREATEAFFINITYDCNVPROC fncCreateAffinityDCNV = (PFNWGLCREATEAFFINITYDCNVPROC)wglGetProcAddress("wglCreateAffinityDCNV");
 
@@ -134,7 +134,7 @@ static void DestroyGPUAffinityDC(vout_display_t *vd) {
     HGLRC hGLRC = wglCreateContext(winDC);
     wglMakeCurrent(winDC, hGLRC);
 
-    /* Initialize the neccessary function pointers */
+    /* Initialize the necessary function pointers */
     PFNWGLDELETEDCNVPROC fncDeleteDCNV = (PFNWGLDELETEDCNVPROC)wglGetProcAddress("wglDeleteDCNV");
 
     /* delete the temporary GL context */
diff --git a/modules/video_output/win32/wgl.c b/modules/video_output/win32/wgl.c
index 4edabb3..dba1029 100644
--- a/modules/video_output/win32/wgl.c
+++ b/modules/video_output/win32/wgl.c
@@ -84,7 +84,7 @@ static void CreateGPUAffinityDC(vlc_gl_t *gl, UINT nVidiaAffinity) {
     HGLRC hGLRC = wglCreateContext(winDC);
     wglMakeCurrent(winDC, hGLRC);
 
-    /* Initialize the neccessary function pointers */
+    /* Initialize the necessary function pointers */
     PFNWGLENUMGPUSNVPROC fncEnumGpusNV = (PFNWGLENUMGPUSNVPROC)wglGetProcAddress("wglEnumGpusNV");
     PFNWGLCREATEAFFINITYDCNVPROC fncCreateAffinityDCNV = (PFNWGLCREATEAFFINITYDCNVPROC)wglGetProcAddress("wglCreateAffinityDCNV");
 
@@ -133,7 +133,7 @@ static void DestroyGPUAffinityDC(vlc_gl_t *gl) {
     HGLRC hGLRC = wglCreateContext(winDC);
     wglMakeCurrent(winDC, hGLRC);
 
-    /* Initialize the neccessary function pointers */
+    /* Initialize the necessary function pointers */
     PFNWGLDELETEDCNVPROC fncDeleteDCNV = (PFNWGLDELETEDCNVPROC)wglGetProcAddress("wglDeleteDCNV");
 
     /* delete the temporary GL context */
-- 
2.7.4



More information about the vlc-devel mailing list