summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-09-28 14:09:55 -0700
committerMatt Turner <[email protected]>2017-10-02 19:41:22 -0700
commitfb5338c4b77db70ea26b0745cff1cb3e330a5139 (patch)
treec6b9061fa980891cc2f2ded9b25b91263acbb382 /src
parent82c54c4fdc8495d7522c782141c080314459690a (diff)
mesa: Remove fprintf referring to libdxtn
When this file is included by Gallium, the fprintf causes it to fail to compile. This is an unreachable error case, and we shouldn't be calling fprintf directly. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/texcompress_s3tc_tmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress_s3tc_tmp.h b/src/mesa/main/texcompress_s3tc_tmp.h
index 3abce6e9040..61630f24751 100644
--- a/src/mesa/main/texcompress_s3tc_tmp.h
+++ b/src/mesa/main/texcompress_s3tc_tmp.h
@@ -983,7 +983,7 @@ static void tx_compress_dxtn(GLint srccomps, GLint width, GLint height, const GL
}
break;
default:
- fprintf(stderr, "libdxtn: Bad dstFormat %d in tx_compress_dxtn\n", destFormat);
+ assert(false);
return;
}
}