Comment 0 for bug 1208996

Revision history for this message
Joe Konno (jbkonno) wrote :

The glmark2 project builds with -Wall -Wextra -Werror, so it is difficult to leverage Wayland's API version system without running afoul of the compiler. Building glmark2 trunk against Wayland 1.2 fails to build due to the global registry struct not initializing 2 of 4 function pointer members.

This patch adds stub methods for the Wayland 1.2 wl_output events. This satisfies the compiler, but does assume that glmark2 will support only the newest API, as opposed to "all since 1.0". An alternative to this patch would be to

http://bazaar.launchpad.net/~jbkonno/+junk/glmark2/revision/279