mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
gobj: don't define GeomVertexReader::empty_buffer in opt3 build
This commit is contained in:
parent
e48a40abad
commit
a019520dbc
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
#include "geomVertexReader.h"
|
#include "geomVertexReader.h"
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifdef _DEBUG
|
||||||
// This is defined just for the benefit of having something non-NULL to
|
// This is defined just for the benefit of having something non-NULL to
|
||||||
// return from a nassertr() call.
|
// return from a nassertr() call.
|
||||||
const unsigned char GeomVertexReader::empty_buffer[100] = { 0 };
|
const unsigned char GeomVertexReader::empty_buffer[100] = { 0 };
|
||||||
|
@ -155,7 +155,7 @@ private:
|
|||||||
int _start_row;
|
int _start_row;
|
||||||
bool _force;
|
bool _force;
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifdef _DEBUG
|
||||||
// This is defined just for the benefit of having something non-NULL to
|
// This is defined just for the benefit of having something non-NULL to
|
||||||
// return from a nassertr() call.
|
// return from a nassertr() call.
|
||||||
static const unsigned char empty_buffer[100];
|
static const unsigned char empty_buffer[100];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user