在 Windows 上更新 OpenGL 库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/769901/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Update OpenGL libraries on windows
提问by Eric
I'm using a 3rd party DLL which uses OpenGL. Right now that 3rd party does not work correctly as the display does not refresh correctly. I came to suspect that the OpenGL library isn't correctly installed or may be outdated.
我正在使用使用 OpenGL 的第 3 方 DLL。现在,第 3 方无法正常工作,因为显示无法正确刷新。我开始怀疑 OpenGL 库没有正确安装或可能已过时。
Is there a way to update the OpenGL library on windows? Is there like an official site which will hold the correct opengl.dll file or something like that?
有没有办法在 Windows 上更新 OpenGL 库?是否有一个官方网站可以保存正确的 opengl.dll 文件或类似的文件?
回答by Herms
I believe the OpenGL libraries are just part of the drivers that ship with your graphics card. Upgrading your graphics drivers should upgrade your OpenGL stuff to the latest your card supports.
我相信 OpenGL 库只是您的显卡附带的驱动程序的一部分。升级您的图形驱动程序应该将您的 OpenGL 内容升级到您的显卡支持的最新版本。
回答by Reed Copsey
OpenGL should be up to date on Windows.
OpenGL 在 Windows 上应该是最新的。
However, if you are getting display/refresh problems, and they're only occuring on windows, this is most likely an issue with your graphics driver.
但是,如果您遇到显示/刷新问题,并且它们只发生在 Windows 上,这很可能是您的图形驱动程序的问题。
Try updating to your latest OpenGL graphics driver. This fixes many OpenGL issues on Windows.
尝试更新到最新的 OpenGL 图形驱动程序。这修复了 Windows 上的许多 OpenGL 问题。
回答by shoosh
opengl.dll is part of your display card driver. Windows comes with a default opengl.dll that offers very little acceleration. Re installing the graphics card driver or upgrading to the latest version should take care of your problem.
opengl.dll 是显卡驱动程序的一部分。Windows 附带一个默认的 opengl.dll,它提供的加速很少。重新安装显卡驱动程序或升级到最新版本应该可以解决您的问题。
回答by Alex
OpenGL is implemented in the graphics driver. If you want to use the latest OpenGL version as a developer you download and use GLEW (http://glew.sourceforge.net/) as a normal library. This will give you access to cross platform OpenGL 4.1 or whatever version your card supports.
OpenGL 在图形驱动程序中实现。如果您想作为开发人员使用最新的 OpenGL 版本,请下载并使用 GLEW (http://glew.sourceforge.net/) 作为普通库。这将使您可以访问跨平台 OpenGL 4.1 或您的卡支持的任何版本。