Skip to content

Commit

Permalink
CDetail: Don't use xrStripify for OpenGL.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Nov 26, 2015
1 parent 33affdb commit f59ed27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Layers/xrRender/DetailModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ void CDetail::Load (IReader* S)
bv_bb.modify (vertices[i].P);
bv_bb.getsphere (bv_sphere.P,bv_sphere.R);

#ifndef _EDITOR
#if !defined(_EDITOR) && !defined(USE_OGL)
Optimize ();
#endif
}

#ifndef _EDITOR
#if !defined(_EDITOR) && !defined(USE_OGL)
#include "xrstripify.h"

void CDetail::Optimize ()
Expand Down

0 comments on commit f59ed27

Please sign in to comment.