38deb97478
The documentation for wglGetProcAddress implies that it should only be used for extension functions. The rest of Cogl assumes that it can dynamically resolve all GL symbols so it would crash if this happens. This patch makes it fallback to trying to resolve the symbol using GModule to open the opengl32 library if wglGetProcAddress fails. https://bugzilla.gnome.org/show_bug.cgi?id=655510 Reviewed-by: Robert Bragg <robert@linux.intel.com> |
||
---|---|---|
.. | ||
cogl-texture-pixmap-x11-private.h | ||
cogl-texture-pixmap-x11.c | ||
cogl-texture-pixmap-x11.h | ||
cogl-winsys-egl-feature-functions.h | ||
cogl-winsys-egl-private.h | ||
cogl-winsys-egl.c | ||
cogl-winsys-glx-feature-functions.h | ||
cogl-winsys-glx.c | ||
cogl-winsys-private.h | ||
cogl-winsys-sdl.c | ||
cogl-winsys-stub-private.h | ||
cogl-winsys-stub.c | ||
cogl-winsys-wgl-feature-functions.h | ||
cogl-winsys-wgl.c | ||
cogl-winsys.c |