protected synchronized void deleteFinalizedObjects ( ) { if ( _finalizedSources != null ) { IntBuffer idbuf = BufferUtils . createIntBuffer ( _finalizedSources . length ) ; idbuf . put ( _finalizedSources ) . rewind ( ) ; AL10 . alDeleteSources ( idbuf ) ; _finalizedSources = null ; } if ( _finalizedBuffers != null ) { IntBuffer idbuf = BufferUtils . createIntBuffer ( _finalizedBuffers . length ) ; idbuf . put ( _finalizedBuffers ) . rewind ( ) ; AL10 . alDeleteBuffers ( idbuf ) ; _finalizedBuffers = null ; } }
Deletes all finalized objects .