moved include of glew.h under an ifdef so it shouldn't error if not needed

This commit is contained in:
herbglitch 2024-02-18 22:16:50 -07:00
parent 3e15b6dfd0
commit df935585a0

View file

@ -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"