Commit a4912491 authored by Vinson Lee's avatar Vinson Lee

fp-indirections2: Fix compile errors with MSVC.

parent 1305448d
......@@ -47,6 +47,10 @@
#define TEXTURE_SIZE 32 /* Note: Hardcoded dependencies in texture_init and texture_follow */
#if defined(_MSC_VER)
#define snprintf sprintf_s
int piglit_WindowMode = GLUT_RGBA;
int piglit_Width = TEXTURE_SIZE;
int piglit_Height = TEXTURE_SIZE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment