This will soon be used in intel_screen.c from a function that doesn't
have a gl_context.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
}
}
+const char *const brw_vendor_string = "Intel Open Source Technology Center";
+
static const GLubyte *
intelGetString(struct gl_context * ctx, GLenum name)
{
switch (name) {
case GL_VENDOR:
- return (GLubyte *) "Intel Open Source Technology Center";
- break;
+ return (GLubyte *) brw_vendor_string;
case GL_RENDERER:
switch (brw->intelScreen->deviceID) {
/*======================================================================
* brw_context.c
*/
+extern const char *const brw_vendor_string;
+
extern void intelFinish(struct gl_context * ctx);
enum {