From 640ea4d9a196c183ea4d6130b5ce371280a89c3f Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Tue, 27 Jun 2017 16:24:05 -0500 Subject: [PATCH] swr/rast: Removing unneeded MSVC warning pragma Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/core/pa.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/drivers/swr/rasterizer/core/pa.h b/src/gallium/drivers/swr/rasterizer/core/pa.h index 77b4f7f59a9..d2e61096d14 100644 --- a/src/gallium/drivers/swr/rasterizer/core/pa.h +++ b/src/gallium/drivers/swr/rasterizer/core/pa.h @@ -668,8 +668,6 @@ struct PA_STATE_CUT : public PA_STATE } } -// disabling buffer overrun warning for this function for what appears to be a bug in MSVC 2017 -PRAGMA_WARNING_PUSH_DISABLE(4789) bool Assemble(uint32_t slot, simdvector *verts) { // process any outstanding verts @@ -717,7 +715,6 @@ PRAGMA_WARNING_PUSH_DISABLE(4789) return true; } -PRAGMA_WARNING_POP() #if ENABLE_AVX512_SIMD16 bool Assemble_simd16(uint32_t slot, simd16vector verts[]) -- 2.30.2