Segmentation fault at glGenVertexArrays( 1, &vao );

后端 未结 4 1338
我在风中等你
我在风中等你 2020-11-29 00:48

My gdb backtrace gives:

(gdb) backtrace
#0  0x00000000 in ?? ()
#1  0x0804a211 in init () at example1.cpp:147
#2  0x0804a6bc in main (argc=1, argv=0xbffff3d4         


        
4条回答
  •  有刺的猬
    2020-11-29 01:33

    Have you tried testing on other systems with different graphics cards? If your code meets the OpenGL spec and it mysteriously crashes inside a function that is correctly called with valid parameters, it could well be a driver bug. If it's a driver bug, you're reduced to guesswork, making shotgun changes, and gradually building up a healthy exasperation that a huge corporation with billions of dollars produce absolutely crap excuses for a graphics card driver. Good luck!

提交回复
热议问题