RSS

ofEnableAlphaBlending()/ofSetVerticalSync(true) results in program crashing: access violation and troubleshooting

17 Dec

In a recent project using openFramework, the program crashes on startup. Debugging into the program shows that the program halts when the functions ofEnableAlphaBlending() or ofSetVerticalSync(true); is called. A Google searching shows that this is most probably due to the fact that OpenGL driver of the display adapter is too low, e.g. OpenGL 1.1 is used, whereas OpenGL 1.3 or above is expected to make the program run smoothly.

To trouble shoot this, update the display driver to support OpenGL 1.3 or above:

Method I: In Windows update, update to latest driver

image
   

Method II: Desktop ==>Right click ==> Personalize ==> Display ==> Change Display settings ==> Advanced ==> Adapter Properties ==> Driver Tab ==> Update Driver

image

==>

 

 

 

image

Now re-run the same program, it works perfect!

Advertisements
 
Leave a comment

Posted by on December 17, 2011 in openFrameworks

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: