OSDN Git Service

mesa/x86: Brown bag fix for undeclared variable.
authorMatt Turner <mattst88@gmail.com>
Thu, 22 May 2014 18:02:18 +0000 (11:02 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 22 May 2014 18:02:36 +0000 (11:02 -0700)
src/mesa/x86/common_x86.c

index 08b1558..a55c48e 100644 (file)
@@ -226,7 +226,7 @@ _mesa_get_x86_features(void)
        _mesa_debug(NULL, "CPUID not detected\n");
    }
    else {
-       GLuint cpu_features;
+       GLuint cpu_features, cpu_features_ecx;
        GLuint cpu_ext_features;
        GLuint cpu_ext_info;
        char cpu_vendor[13];