jpaoneMines / csci441

CSCI441 Library Helper Functions and Classes
MIT License
5 stars 2 forks source link

Support GLEW or GLAD #16

Closed jpaoneMines closed 3 months ago

jpaoneMines commented 1 year ago

Add compiler defined flag to include GLAD or GLEW.

ifdef CSCI441_USING_GLAD

include <glad/glad.h>

else

include <GL/glew.h>

endif

Apply this to all files.

jpaoneMines commented 3 months ago

Default to using GLAD instead of GLEW

jpaoneMines commented 3 months ago

Depends upon glad2

Resolved for Issue #34