Quantcast
Channel: Programming – Xinyustudio
Viewing all articles
Browse latest Browse all 284

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

$
0
0

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!


Filed under: openFramework

Viewing all articles
Browse latest Browse all 284

Trending Articles