Mesa (mesa_7_6_branch): progs/perf: Fix MSVC build.

Vinson Lee vlee at kemper.freedesktop.org
Mon Dec 21 18:11:49 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 982acbddab536ab16b340243d2034abfb30dfe59
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=982acbddab536ab16b340243d2034abfb30dfe59

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Oct 10 10:45:16 2009 -0600

progs/perf: Fix MSVC build.
(cherry picked from commit cbf46ed670ef5a5c8a641730234dd7ae964c3170)

---

 progs/tests/texcomp_image.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/progs/tests/texcomp_image.h b/progs/tests/texcomp_image.h
index e63a567..a3884d4 100644
--- a/progs/tests/texcomp_image.h
+++ b/progs/tests/texcomp_image.h
@@ -1,4 +1,4 @@
-static int ImgSize = 131072;
+#define ImgSize 131072
 static unsigned char ImgData[131072] =
 {
    0x4d, 0xbc, 0x0b, 0xb4, 0xda, 0x0a, 0x78, 0xa8, 0x8d, 0xbc, 0x0c, 0xac, 0x8b, 0x7f, 0xeb, 0xf7, 0x8d, 0xbc, 0xeb, 0xab, 0xba, 0xb7, 0x82, 0xa2, 0x8d, 0xbc, 0x2b, 0xb4, 0xa2, 0xfd, 0xee, 0x2f,



More information about the mesa-commit mailing list