• Advertisement
Sign in to follow this  

cgDestroyProgram crashs

This topic is 4462 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know why cgDestroyProgram would result in an access violation error ? The vertex shader is created, loaded and binded with no error, it is not binded when destroying, but cgDestroyProgram creates an access violation... Thanks [Edited by - mabeghin on December 3, 2005 9:39:25 AM]

Share this post


Link to post
Share on other sites
Advertisement
I found the solution, I had different dlls installed in Windows folder than the one installed by CG SDK 1.4, so it was using CgD3D9.dll from SDK 1.4 and cg.dll from the windows system32 folder. Don't know which application installed these dlls in sys32...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement