glsl/standalone_scaffolding: Add stub for _mesa_warning()
authorChad Versace <chad.versace@linux.intel.com>
Wed, 16 Jan 2013 20:56:34 +0000 (12:56 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Fri, 25 Jan 2013 05:11:41 +0000 (21:11 -0800)
commit1fafd008392d5240dc36d0c72978cef62e21b4b1
tree9c782c6d82226b394cc3ce871a0cb018949aa5ad
parentee5921ad0dfb11eebe666b03eab2ac1875c11280
glsl/standalone_scaffolding: Add stub for _mesa_warning()

A subsequent patch will add mesa/main/imports.c as a dependency to the
compiler, which in turn requires that _mesa_warning() be defined.

The real definition of _mesa_warning() is in mesa/main/errors.c, but to
pull that file into the standalone scaffolding would require transitively
pulling in the dispatch tables.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Acked-by: Paul Berry <stereotype441@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/glsl/standalone_scaffolding.cpp
src/glsl/standalone_scaffolding.h