Browse Source

Include GLFW_INCLUDE_GLCOREARB only on Macs

shared-context
Mikko Mononen 11 years ago
parent
commit
df537491f2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      example/example_gl3.c

+ 2
- 2
example/example_gl3.c View File

@@ -21,8 +21,8 @@
# include <GL/glew.h>
#endif
#define GLFW_NO_GLU
#ifndef _WIN32
# define GLFW_INCLUDE_GLCOREARB
#ifdef __APPLE__
# define GLFW_INCLUDE_GLCOREARB
#endif
#include <GLFW/glfw3.h>
#include "nanovg.h"


Loading…
Cancel
Save