Skip to content

Commit

Permalink
GLwin32, WGL: fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Baptiste Kempf <[email protected]>
  • Loading branch information
magwyz authored and jbkempf committed Jun 9, 2016
1 parent 885df27 commit 0ad565d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/video_output/win32/glwin32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down Expand Up @@ -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 */
Expand Down
4 changes: 2 additions & 2 deletions modules/video_output/win32/wgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 0ad565d

Please sign in to comment.