glGenBuffers not defined?

前端 未结 4 1430
-上瘾入骨i
-上瘾入骨i 2020-12-09 10:47

I\'m using windows and I notice that a lot of functions are grayed out because I guess #ifdef GL_GLEXT_PROTOTYPES is not defined. One of these is the VBO extension. Should I

4条回答
  •  忘掉有多难
    2020-12-09 11:17

    And if you're using the Glew OpenGL extension, make sure you initialize it.

    glewInit();

    Otherwise nothing will be drawn.

提交回复
热议问题