diff options
author | Ian Romanick <[email protected]> | 2013-02-14 16:25:44 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-11-07 18:08:15 -0800 |
commit | 135b7e72601ab0c3923cafedcd30bb505e54f624 (patch) | |
tree | 5cb4671b496150a0ac174d76bdf6876b6327b61d /src/mesa/drivers/dri/i915/intel_context.h | |
parent | 64bb1e857a94fb5b709ecb6f11325313cd1cc96d (diff) |
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 <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.h b/src/mesa/drivers/dri/i915/intel_context.h index 0b83a3ef656..e386e46782e 100644 --- a/src/mesa/drivers/dri/i915/intel_context.h +++ b/src/mesa/drivers/dri/i915/intel_context.h @@ -393,6 +393,8 @@ extern int INTEL_DEBUG; * intel_context.c: */ +extern const char *const i915_vendor_string; + extern bool intelInitContext(struct intel_context *intel, int api, unsigned major_version, |