Commit 9710ac96 authored by Jan Möbius's avatar Jan Möbius
Browse files

Implement empty enter/leavepick function to fix errors when picking with active textures

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5578 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 76842b9b
......@@ -425,6 +425,17 @@ void TextureNode::leave(GLState& /* _state */ , unsigned int _drawmode)
}
}
void TextureNode::enterPick(GLState& /*_state*/ ,
PickTarget /*_target*/,
unsigned int /*_drawMode*/ ) {
}
void TextureNode::leavePick(GLState& /*_state*/,
PickTarget /*_target*/,
unsigned int /*_drawMode*/ ) {
}
//----------------------------------------------------------------------------
......
......@@ -250,6 +250,14 @@ public:
*/
void leave(GLState& _state, unsigned int _drawmode);
/** \brief Do nothing in picking
*/
void enterPick(GLState& _state, PickTarget _target, unsigned int _drawMode );
/** \brief Do nothing in picking
*/
void leavePick(GLState& _state, PickTarget _target, unsigned int _drawMode );
/** @} */
private:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment