Browse Source

Fix building tests

Signed-off-by: falkTX <falktx@falktx.com>
pull/272/head
falkTX 4 years ago
parent
commit
af4f463f5c
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      dgl/src/OpenGL.cpp
  2. +1
    -1
      tests/Demo.cpp

+ 2
- 0
dgl/src/OpenGL.cpp View File

@@ -113,6 +113,7 @@ void Rectangle<T>::_draw(const bool outline)
// -----------------------------------------------------------------------
// Possible template data types

#ifndef DPF_TEST_DEMO
template class Line<double>;
template class Line<float>;
template class Line<int>;
@@ -140,6 +141,7 @@ template class Rectangle<int>;
template class Rectangle<uint>;
template class Rectangle<short>;
template class Rectangle<ushort>;
#endif

// -----------------------------------------------------------------------



+ 1
- 1
tests/Demo.cpp View File

@@ -20,7 +20,7 @@

#include "tests.hpp"

// #define DPF_TEST_POINT_CPP
#define DPF_TEST_DEMO
#include "dgl/OpenGL.hpp"
#include "dgl/src/pugl.cpp"
#include "dgl/src/Application.cpp"


Loading…
Cancel
Save