Browse Source

Stop using glew

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.02
falkTX 3 years ago
parent
commit
6fbd38b858
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 15 additions and 2 deletions
  1. +3
    -0
      plugins/Cardinal/GL/glew.h
  2. +0
    -2
      plugins/Cardinal/Makefile
  3. +12
    -0
      plugins/Cardinal/dep.cpp

+ 3
- 0
plugins/Cardinal/GL/glew.h View File

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

+ 0
- 2
plugins/Cardinal/Makefile View File

@@ -57,10 +57,8 @@ EXTRA_LIBS += Rack/dep/lib/libspeexdsp.a


ifeq ($(WINDOWS),true) ifeq ($(WINDOWS),true)
EXTRA_LIBS += Rack/dep/lib/libarchive_static.a EXTRA_LIBS += Rack/dep/lib/libarchive_static.a
EXTRA_LIBS += Rack/dep/lib/libglew32.a
else else
EXTRA_LIBS += Rack/dep/lib/libarchive.a EXTRA_LIBS += Rack/dep/lib/libarchive.a
EXTRA_LIBS += Rack/dep/lib/libGLEW.a
endif endif


EXTRA_LIBS += Rack/dep/lib/libzstd.a EXTRA_LIBS += Rack/dep/lib/libzstd.a


+ 12
- 0
plugins/Cardinal/dep.cpp 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>

Loading…
Cancel
Save