moved include of glew.h under an ifdef so it shouldn't error if not needed
This commit is contained in:
parent
3e15b6dfd0
commit
df935585a0
1 changed files with 2 additions and 1 deletions
|
|
@ -1,10 +1,11 @@
|
|||
#ifndef ARC_OPENGL_RENDERER_H_
|
||||
#define ARC_OPENGL_RENDERER_H_
|
||||
|
||||
#ifdef ARC_GLFW_WINDOW
|
||||
|
||||
#define GLEW_STATIC
|
||||
#include <GL/glew.h>
|
||||
|
||||
#ifdef ARC_GLFW_WINDOW
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#include "arc/graphics/renderer.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue