[vlc-devel] [PATCH 3/8] opengl: make getProcAddress mandatory
Thomas Guillem
thomas at gllm.fr
Wed May 23 09:19:23 CEST 2018
---
include/vlc_opengl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/vlc_opengl.h b/include/vlc_opengl.h
index 2a3902c72c..d446f0ac2f 100644
--- a/include/vlc_opengl.h
+++ b/include/vlc_opengl.h
@@ -109,7 +109,7 @@ static inline void vlc_gl_Swap(vlc_gl_t *gl)
static inline void *vlc_gl_GetProcAddress(vlc_gl_t *gl, const char *name)
{
- return (gl->getProcAddress != NULL) ? gl->getProcAddress(gl, name) : NULL;
+ return gl->getProcAddress(gl, name);
}
VLC_API vlc_gl_t *vlc_gl_surface_Create(vlc_object_t *,
--
2.17.0
More information about the vlc-devel
mailing list