c++ - OpenGL stops rendering, possibly after an update -


i working on small opengl project using glfw library. fine until 1 day, can't render except background. loaded older version, sure worked fine , same thing happens. went in time , every version tried did same thing.

you can change glclearcolor() , color used, thats thing see. tried strip project down until ended basic program (a hard-coded colored cube) still doesn't render anything.

i think possible causes may have driver updates or me downloading newer versions of libraries, don't think have such massive effect, given code worked fine previously.

i running 64-bit windows 7 on gigabyte b75m-d3h motherboard intel core i5-3350p cpu , radeon hd 7750 graphics(currently catalyst 14.12, have had updates since problem first appeared though). use mingw-w64 compiler of choice posix threads , sjlj exceptions. tried on different machine (dell inspiron windows 8.1) , got same results.

i using glfw, glew , glm.

the original project: https://github.com/genabitu/openstrategia

a stripped-down version: https://gist.github.com/genabitu/852dc4c4db6d72c945d1 (quite messy, still not working)

can driver update cause this? stupid , forgot broke whole program?

turns out using core opengl profile, requires use vertex array objects, didn't. until ~february, graphics didn't mind, after driver update, refused render object (which believe correct behaviour).


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -