malloc particle effect (glDrawArray)
When I use malloc(); to create the particle effect for the glDrawArrays function. An then use free(); to destroy them. An then create another new particle effect the way. I some how get to old data is this Normal??
Yeah, very possible. Malloc doesn't zero the data. You can use calloc if you want zeroed data.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Using blending for a text fading effect. | cjcaufield | 2 | 3,482 |
Jun 30, 2010 08:21 PM Last Post: cjcaufield |
|
| Halo-Effect in 3D OpenGL ES | Bersaelor | 4 | 4,712 |
Dec 17, 2009 11:54 AM Last Post: Mark Levin |
|
| How to do a Quick, Dirty bloom effect FAST! | Oddity007 | 12 | 6,923 |
May 9, 2009 09:42 AM Last Post: aardvarc |
|
| Turning Page Effect with OpenGl | ReSuMa | 3 | 4,657 |
May 12, 2007 05:57 AM Last Post: ReSuMa |
|
| epicenter effect | progressdll | 3 | 3,738 |
May 8, 2007 05:11 PM Last Post: kelvin |
|

