mirror of https://github.com/mosra/magnum.git
Browse Source
Caused linker problems mainly on Windows, where every symbol would need to be exported manually, on Linux this was done implicitly (or with `-fvisibility=default`). I now maintain glLoadGen fork at https://github.com/mosra/glloadgen.git containing changes needed for Magnum. The `ogl_*()` functions are used only internally, various global variables for extension queries are not used at all and thus they don't need to be exported. I thus enabled `-fvisibility=hidden`. Fixes #16.pull/23/head
6 changed files with 1664 additions and 1675 deletions
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,17 +0,0 @@ |
|||||||
diff --git a/modules/Specs.lua b/modules/Specs.lua
|
|
||||||
index df4f5d5..95e0b97 100644
|
|
||||||
--- a/modules/Specs.lua
|
|
||||||
+++ b/modules/Specs.lua
|
|
||||||
@@ -116,9 +116,9 @@ function glx_spec.GetExtStringParamList(enumResolve) return "display, screen" en
|
|
||||||
-- Function name used to get an extension string.
|
|
||||||
-- Enumerator name used to get an extension string.
|
|
||||||
function gl_spec.GetIndexedExtStringFunc(options)
|
|
||||||
- if(tonumber(options.version) >= 3.0) then
|
|
||||||
- return {"GetIntegerv", "NUM_EXTENSIONS", "GetStringi", "EXTENSIONS"}
|
|
||||||
- end
|
|
||||||
+-- if(tonumber(options.version) >= 3.0) then
|
|
||||||
+-- return {"GetIntegerv", "NUM_EXTENSIONS", "GetStringi", "EXTENSIONS"}
|
|
||||||
+-- end
|
|
||||||
return nil
|
|
||||||
end
|
|
||||||
function wgl_spec.GetIndexedExtStringFunc(options) return nil end
|
|
||||||
Loading…
Reference in new issue