Chip Davis : winemac.drv: Build with GL_SILENCE_DEPRECATION.

Alexandre Julliard julliard at winehq.org
Wed Apr 8 15:48:32 CDT 2020


Module: wine
Branch: master
Commit: e5895164322002784eac51c4c037f211cf097897
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e5895164322002784eac51c4c037f211cf097897

Author: Chip Davis <cdavis at codeweavers.com>
Date:   Wed Apr  8 01:10:01 2020 -0500

winemac.drv: Build with GL_SILENCE_DEPRECATION.

Signed-off-by: Chip Davis <cdavis at codeweavers.com>
Signed-off-by: Ken Thomases <ken at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 80a766cbda..96e27b76e5 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"
 




More information about the wine-cvs mailing list