fix GL_LINE_LOOP with drivers using own render pipeline stage (#12410, #13527)
[mesa.git] / src / mesa / drivers / dri / mga / mgatexmem.c
index 01acb9ee7367b957211e31cb79a1799c85b5734f..18743331c6d0682dcf657e32bdb71bfdef50cebf 100644 (file)
@@ -115,7 +115,7 @@ static void mgaUploadSubImage( mgaContextPtr mmesa,
 
    if (texImage->Data == NULL) {
       fprintf(stderr, "null texture image data tObj %p level %d\n",
-             t->base.tObj, level);
+             (void *) t->base.tObj, level);
       return;
    }