creaform

Crash with pointer in OpenGl

Discussion created by creaform on Feb 2, 2011
Latest reply on Mar 10, 2011 by HammerTime

I use an ATI graphics card with shader in OpenGl. I use the function glDrawArrays to draw points. But, at the next draw, when I refill the pointer with the new data, I got a crash:System.NullReferenceException: Object reference not set to an instance of an object.

My program is created in .NET with Studio 2005. My graphics card is an ATI FireGl V5800. My OS is Windows 7 64bits.

When trying with a nvidia geforce cards, I got no crash.

Thanks.

Outcomes