我期待在OpenGL的wiki頁面,和我很好奇下面一行:獲得OpenGL的API函數
對於最終都是這裏的問題無關的原因,您必須手動 通過加載功能平臺特定的API調用。這個樣板文件 的工作是用各種OpenGL加載庫完成的;這些使得這個過程平穩。強烈建議您使用一個。 - OpenGL Wiki
直覺上,你會認爲他們只是提供一個標題供你加入。那麼,這是什麼歷史原因呢?
編輯:
感謝您的答案,我現在看到的是OpenGL的支持其功能的多種實現,所以沒有一個單一的DLL/SO,每個人都鏈接到。我還發現,這些報價有所幫助:
The OpenGL library supports multiple implementations of its functions.
From MSDNTo accommodate this variety, we specify ideal behavior instead of actual behavior for certain GL operations.
From GL SpecWhen you run your program, opengl32.dll gets loaded and it checks in the Windows registry if there is a true GL driver. If there is, it will load it. For example, ATI's GL driver name starts with atioglxx.dll and NVIDIA's GL driver is nvoglv32.dll. The actual names change from release versions
GL FAQ
我還發現,英特爾不提供了,TO-最新的OpenGL實現,所以e儘管我有一個i7-2500,我只有OpenGL 3.0 :(。
我不確定,但我懷疑它來自嘗試以向前和向後兼容的方式處理許多不同的OpenGL版本。 –