gallium/draw: initial code to properly support llvm in the draw module
[mesa.git] / src / mesa / main / version.c
index 9d23c577bd1e02b540d5936ee9aa75fde3e21524..a39b68065012194d3ae368c98a51efd085437cd0 100644 (file)
@@ -122,9 +122,9 @@ _mesa_compute_version(GLcontext *ctx)
 
    compute_version(ctx, &ctx->VersionMajor, &ctx->VersionMinor);
    
-   ctx->VersionString = (char *) _mesa_malloc(max);
+   ctx->VersionString = (char *) malloc(max);
    if (ctx->VersionString) {
       _mesa_snprintf(ctx->VersionString, max, "%u.%u Mesa " MESA_VERSION_STRING,
-                     ctx->VersionMajor, ctx->VersionMinor);
+              ctx->VersionMajor, ctx->VersionMinor);
    }
 }