Segmentation fault at glGenVertexArrays( 1, &vao );

后端 未结 4 1377
我在风中等你
我在风中等你 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:28

    Works fine for me:

    screenshot

    GL_VERSION  : 4.1.10750 Compatibility Profile Context
    GL_VENDOR   : ATI Technologies Inc.
    GL_RENDERER : AMD Radeon HD 6500 Series
    

    EDIT: I'm using the latest versions of FreeGLUT (2.8.0 RC2) and GLEW (1.7.0), which may make a difference if you're relying on distro-supplied versions.

提交回复
热议问题