swr/rast: Added missing define for Linux/gcc
authorGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 19 Jan 2018 21:46:57 +0000 (15:46 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 19 Jan 2018 22:48:41 +0000 (16:48 -0600)
+ ZeroMemory() macro definition for non win32-compilation in common/os.h

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/common/os.h

index 358cb33..c7e87e2 100644 (file)
@@ -244,6 +244,7 @@ void AlignedFree(void* p)
 #define PRAGMA_WARNING_PUSH_DISABLE(...)
 #define PRAGMA_WARNING_POP()
 
+#define ZeroMemory(dst, size) memset(dst, 0, size)
 #else
 
 #error Unsupported OS/system.