小编Cyc*_*ite的帖子

使用 GLUT/FreeGLUT 创建核心上下文?

我正在开发一个利用freeglut和 的项目GLEW。为了在我的程序中使用顶点和片段着色器,我需要使用的最低 OpenGL 版本是3.3. 我检查了OpenGL版本和GLSL版本,结果是这样的:

[cyclonite@localhost ~]$ glxinfo | grep OpenGL 
OpenGL vendor string: Intel Open Source Technology Center 
OpenGL renderer string: Mesa DRI Intel (R) HD Graphics 620 (Kaby Lake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.3.3 
OpenGL core profile shading language version string: 4.50 
OpenGL core profile context flags: (none) 
OpenGL core profile profile mask: core profile 
OpenGL core profile extensions: 
OpenGL version string: 3.0 mesa 17.3.3 …
Run Code Online (Sandbox Code Playgroud)

c++ eclipse opengl glut freeglut

2
推荐指数
1
解决办法
2951
查看次数

标签 统计

c++ ×1

eclipse ×1

freeglut ×1

glut ×1

opengl ×1