i915: Refactor the vendor string out of intelGetString
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 15 Feb 2013 00:25:44 +0000 (16:25 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 8 Nov 2013 02:08:15 +0000 (18:08 -0800)
commit135b7e72601ab0c3923cafedcd30bb505e54f624
tree5cb4671b496150a0ac174d76bdf6876b6327b61d
parent64bb1e857a94fb5b709ecb6f11325313cd1cc96d
i915: Refactor the vendor string out of intelGetString

This will soon be used in intel_screen.c from a function that doesn't
have a gl_context.

v2: Remove spurious break after return.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/i915/intel_context.h