r300: change vendor string to DRI R300 Project
authorDave Airlie <airlied@linux.ie>
Sat, 17 Mar 2007 05:46:24 +0000 (16:46 +1100)
committerDave Airlie <airlied@linux.ie>
Sat, 17 Mar 2007 05:46:24 +0000 (16:46 +1100)
src/mesa/drivers/dri/r300/radeon_context.c

index 66d1b153b3c1c9da5785cb86c14ff9fdc7e42861..22f943ebf38887ba43c7f3f0b186e642d449d210 100644 (file)
@@ -70,7 +70,10 @@ static const GLubyte *radeonGetString(GLcontext * ctx, GLenum name)
 
        switch (name) {
        case GL_VENDOR:
-               return (GLubyte *) "Tungsten Graphics, Inc.";
+               if (IS_R300_CLASS(radeon->radeonScreen))
+                       return (GLubyte *) "DRI R300 Project";
+               else
+                       return (GLubyte *) "Tungsten Graphics, Inc.";
 
        case GL_RENDERER:
        {