Fix linux compilation
This commit is contained in:
parent
109b2a156e
commit
41baacd9ab
|
|
@ -10,6 +10,8 @@ namespace Nz::GL
|
||||||
{
|
{
|
||||||
bool EGLContextX11::Create(const ContextParams& params, WindowHandle window, const EGLContextBase* shareContext)
|
bool EGLContextX11::Create(const ContextParams& params, WindowHandle window, const EGLContextBase* shareContext)
|
||||||
{
|
{
|
||||||
|
//TODO: Load X11 dynamically
|
||||||
|
|
||||||
assert(window.type == WindowManager::X11);
|
assert(window.type == WindowManager::X11);
|
||||||
|
|
||||||
Destroy(); //< In case a previous display or surface hasn't been released
|
Destroy(); //< In case a previous display or surface hasn't been released
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,9 @@ local modules = {
|
||||||
del_files("src/Nazara/OpenGLRenderer/Wrapper/WGL/**.cpp")
|
del_files("src/Nazara/OpenGLRenderer/Wrapper/WGL/**.cpp")
|
||||||
end
|
end
|
||||||
|
|
||||||
if not is_plat("linux") then
|
if is_plat("linux") then
|
||||||
|
add_syslinks("x11") -- FIXME
|
||||||
|
else
|
||||||
del_files("src/Nazara/OpenGLRenderer/Wrapper/Linux/**.cpp")
|
del_files("src/Nazara/OpenGLRenderer/Wrapper/Linux/**.cpp")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue