1
Fork 0

Stop using glew

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-10-09 01:27:04 +01:00
parent 14fe8acc04
commit 6fbd38b858
No known key found for this signature in database
GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 15 additions and 2 deletions

View File

@ -0,0 +1,3 @@
#pragma once
#undef DEBUG
#include "OpenGL.hpp"

View File

@ -57,10 +57,8 @@ EXTRA_LIBS += Rack/dep/lib/libspeexdsp.a
ifeq ($(WINDOWS),true)
EXTRA_LIBS += Rack/dep/lib/libarchive_static.a
EXTRA_LIBS += Rack/dep/lib/libglew32.a
else
EXTRA_LIBS += Rack/dep/lib/libarchive.a
EXTRA_LIBS += Rack/dep/lib/libGLEW.a
endif
EXTRA_LIBS += Rack/dep/lib/libzstd.a

12
plugins/Cardinal/dep.cpp Normal file
View File

@ -0,0 +1,12 @@
// This source file compiles those nice implementation-in-header little libraries
#include <common.hpp> // for fopen_u8
#include "OpenGL.hpp"
#define BLENDISH_IMPLEMENTATION
#include <blendish.h>
#define NANOSVG_IMPLEMENTATION
#define NANOSVG_ALL_COLOR_KEYWORDS
#include <nanosvg.h>