Compile fixes and cleanup
This was SVN commit r3088.
This commit is contained in:
parent
668794e61d
commit
5f5d19cac4
@ -195,8 +195,6 @@ void HWLightingModelRenderer::UpdateModelData(CModel* model, void* data, u32 upd
|
||||
if (updateflags & RENDERDATA_UPDATE_VERTICES)
|
||||
{
|
||||
CModelDefPtr mdef = model->GetModelDef();
|
||||
size_t numVertices = mdef->GetNumVertices();
|
||||
UNUSED2(numVertices);
|
||||
|
||||
// build vertices
|
||||
VertexArrayIterator<CVector3D> Position = hwlmodel->m_Position.GetIterator<CVector3D>();
|
||||
|
@ -56,7 +56,7 @@ struct IMessage
|
||||
#define MESSAGESTRUCT(t) \
|
||||
struct m##t : public IMessage { \
|
||||
const char* GetName() const { return #t; } \
|
||||
Type GetType() const { return Type::Message; } \
|
||||
Type GetType() const { return IMessage::Message; } \
|
||||
private: \
|
||||
const m##t& operator=(const m##t&); \
|
||||
public:
|
||||
@ -80,7 +80,7 @@ MESSAGESTRUCT(MergeCommand) };
|
||||
|
||||
struct QueryMessage : public IMessage
|
||||
{
|
||||
Type GetType() const { return Type::Query; }
|
||||
Type GetType() const { return IMessage::Query; }
|
||||
void Post(); // defined in ScenarioEditor.cpp
|
||||
|
||||
void* m_Semaphore; // for use by MessagePasser implementations (yay encapsulation)
|
||||
|
Loading…
Reference in New Issue
Block a user