[vlc-commits] GLwin32, WGL: fix typos

Adrien Maglo git at videolan.org
Thu Jun 9 13:23:22 CEST 2016


vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Thu Jun  9 12:12:00 2016 +0200| [0ad565dfb9a22e73803e41b7bf2e919249c95531] | committer: Jean-Baptiste Kempf

GLwin32, WGL: fix typos

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ad565dfb9a22e73803e41b7bf2e919249c95531
---

 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 */



More information about the vlc-commits mailing list