you have to define static members along with declaring them
This commit is contained in:
parent
9004fb8263
commit
df8371081d
11
games/dangerdeep/patches/patch-src_model_cpp
Normal file
11
games/dangerdeep/patches/patch-src_model_cpp
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_model_cpp,v 1.1 2017/04/30 08:25:28 espie Exp $
|
||||
--- src/model.cpp.orig
|
||||
+++ src/model.cpp
|
||||
@@ -49,6 +49,7 @@ using namespace std;
|
||||
texture::mapping_mode model::mapping = texture::LINEAR_MIPMAP_LINEAR;//texture::NEAREST;
|
||||
|
||||
unsigned model::init_count = 0;
|
||||
+const unsigned model::mesh::no_adjacency;
|
||||
|
||||
/*
|
||||
fixme: possible cleanup/simplification of rendering EVERYWHERE:
|
Loading…
x
Reference in New Issue
Block a user