LWJGL All functions unsupported

佐手、 提交于 2019-12-25 10:20:21

问题


I am working on a project in LWJGL, and the OpenGL setup works on 2.0, but whenever I try to render on LWJGL 3.0, it returns Function is not supported.

The methods that have returned this error:

  1. glColor3f();
  2. glVertex3f();
  3. glColorPointer();
  4. glVertexPointer();
  5. glBegin();
  6. glEnd();

Our project setup is fine, and the window shows without these methods, but whenever we use them, LWJGL spits out that error. We need help and quick, so if you know why this is happening, please tell me.


回答1:


According to this: Why a new version These version(I mean 2.x and 3.x) have not backward compatibillity. Also there is some major changes to API between these version. So you can not just change library.



来源:https://stackoverflow.com/questions/29626928/lwjgl-all-functions-unsupported

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!