GLX: Warn only once about applications calling GLX 1.3 functions
authorTormod Volden <debian.tormod@gmail.com>
Sun, 20 Sep 2009 18:20:01 +0000 (20:20 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 21 Sep 2009 22:29:52 +0000 (15:29 -0700)
commite8573033058a13bd39a0b85f48b6db64b04c65e0
treec3ff453e5b99c6e1e47f487b4e4a7384ea904fe9
parent2b83483fb43386bd4b8d199d371a3e513828695f
GLX: Warn only once about applications calling GLX 1.3 functions

The warnings introduced in 1f309c40b8065b8729fce631540c66e4b50b84df
would pour out generously from some applications. This patch adds a
"warn once" wrapper macro, heavily inspired by
src/mesa/drivers/dri/r600/radeon_debug.h

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/x11/glx_pbuffer.c