mutter/cogl/winsys
Neil Roberts 38deb97478 cogl-winsys-wgl: Add a fallback for failed wglGetProcAddress
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>
2011-08-01 14:08:42 +01:00
..
cogl-texture-pixmap-x11-private.h texture-pixmap-x11: Move GLX code to cogl-winsys-glx.c 2011-05-05 14:46:01 +01:00
cogl-texture-pixmap-x11.c texture-pixmap-x11: set ->winsys = NULL if _create fails 2011-07-18 16:49:07 +01:00
cogl-texture-pixmap-x11.h docs: API reference fixes 2010-09-20 13:15:44 +01:00
cogl-winsys-egl-feature-functions.h egl: Guard the feature discovery of eglCreateImage() 2011-07-29 11:44:55 +01:00
cogl-winsys-egl-private.h Add _cogl_egl_texture_2d_new_from_image API 2011-06-01 20:44:42 +01:00
cogl-winsys-egl.c egl: Make sure to free the underlying egl objects when the display is freed 2011-07-29 11:50:15 +01:00
cogl-winsys-glx-feature-functions.h Moves all GLX code down from Clutter to Cogl 2011-04-11 17:54:36 +01:00
cogl-winsys-glx.c glx: Bail from _renderer_connect if not GL driver 2011-07-28 20:44:46 +01:00
cogl-winsys-private.h Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-winsys-sdl.c Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-winsys-stub-private.h Make stub winsys into a proper winsys backend 2011-06-01 20:44:41 +01:00
cogl-winsys-stub.c Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-winsys-wgl-feature-functions.h Add a WGL winsys 2011-05-10 17:58:41 +01:00
cogl-winsys-wgl.c cogl-winsys-wgl: Add a fallback for failed wglGetProcAddress 2011-08-01 14:08:42 +01:00
cogl-winsys.c Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00