mirror of https://github.com/axmolengine/axmol.git
fix Physics3DDebugDrawer (#20160)
Since drawing type is ARRAY, should use instead.
This commit is contained in:
parent
391780d5e2
commit
9ee9917047
|
@ -106,7 +106,7 @@ void Physics3DDebugDrawer::draw( Renderer *renderer)
|
|||
_dirty = false;
|
||||
}
|
||||
|
||||
_customCommand.setIndexDrawInfo(0, _buffer.size());
|
||||
_customCommand.setVertexDrawInfo(0, _buffer.size());
|
||||
|
||||
CC_INCREMENT_GL_DRAWN_BATCHES_AND_VERTICES(1, _buffer.size());
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@ NS_CC_BEGIN
|
|||
* @{
|
||||
*/
|
||||
|
||||
class GLProgram;
|
||||
class Renderer;
|
||||
|
||||
/** @brief Physics3DDebugDrawer: debug draw the physics object, used by Physics3DWorld */
|
||||
|
|
Loading…
Reference in New Issue