[PATCH] winemac.drv: Build with GL_SILENCE_DEPRECATION.

Chip Davis cdavis at codeweavers.com
Wed Apr 8 01:10:01 CDT 2020


Signed-off-by: Chip Davis <cdavis at codeweavers.com>
---
 dlls/winemac.drv/cocoa_opengl.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/winemac.drv/cocoa_opengl.m b/dlls/winemac.drv/cocoa_opengl.m
index 351c7d14246..16a91023933 100644
--- a/dlls/winemac.drv/cocoa_opengl.m
+++ b/dlls/winemac.drv/cocoa_opengl.m
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#define GL_SILENCE_DEPRECATION
 #include <OpenGL/gl.h>
 #import "cocoa_opengl.h"
 
-- 
2.24.0




More information about the wine-devel mailing list