betajaen / gorilla

Minimal HUD and Overlay replacement system for Ogre 1.x only
60 stars 11 forks source link

Fix crash when initializing Gorila twice #8

Closed imi0 closed 11 years ago

imi0 commented 11 years ago

When adding, deleting and adding an atlas with the same texture, Gorilla reuses the material and leaves the pointer m2DPass and m3DPass uninitialized. This commit fixes the bug.

betajaen commented 11 years ago

Thanks imi0 ;)