Fix pow <small> and a very stypid bug with dummy srcs(0 equals to tmp0.x)</small...
[mesa.git] / src / mesa / main / getstring.c
index 38b13e90f3baeabaaf80620573542364b6d65660..5188a79c95137d28571a9f8b47bc2c2359170f78 100644 (file)
@@ -56,7 +56,7 @@ _mesa_GetString( GLenum name )
    static const char *version_1_5 = "1.5 Mesa " MESA_VERSION_STRING;
    static const char *version_2_0 = "1.5 Mesa " MESA_VERSION_STRING;/*XXX FIX*/
 
-   ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, 0);
+   ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, NULL);
 
    /* this is a required driver function */
    assert(ctx->Driver.GetString);