diff options
author | Vinson Lee <vlee@vmware.com> | 2009-10-05 17:03:15 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-10-05 17:03:15 -0700 |
commit | a52fcdf076c888f1b19baccce4c3e4581448dfd6 (patch) | |
tree | fdfbecc4ca0ee85c84752a917dae418c370a9905 /tests/shaders/vp-address-06.c | |
parent | ca8a65085f514f9ea087af6db3eb049c6e769ba0 (diff) |
vp-address-0[1-6]: Fix MSVC build.
Diffstat (limited to 'tests/shaders/vp-address-06.c')
-rw-r--r-- | tests/shaders/vp-address-06.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/shaders/vp-address-06.c b/tests/shaders/vp-address-06.c index e690cd1d2..ecd5aa200 100644 --- a/tests/shaders/vp-address-06.c +++ b/tests/shaders/vp-address-06.c @@ -37,6 +37,10 @@ #define TEST_COLS 2 #define BOX_SIZE 32 +#if defined(_MSC_VER) +#define snprintf _snprintf +#endif + int piglit_window_mode = GLUT_DOUBLE; int piglit_width = (((BOX_SIZE+1)*TEST_COLS)+1); |