From df537491f2623775365f93dd9cde17f26abfd6ab Mon Sep 17 00:00:00 2001 From: Mikko Mononen Date: Thu, 24 Apr 2014 21:31:40 +0300 Subject: [PATCH] Include GLFW_INCLUDE_GLCOREARB only on Macs --- example/example_gl3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/example_gl3.c b/example/example_gl3.c index 0bf1739..f827140 100644 --- a/example/example_gl3.c +++ b/example/example_gl3.c @@ -21,8 +21,8 @@ # include #endif #define GLFW_NO_GLU -#ifndef _WIN32 -# define GLFW_INCLUDE_GLCOREARB +#ifdef __APPLE__ +# define GLFW_INCLUDE_GLCOREARB #endif #include #include "nanovg.h"