From f4186fdeacdce0bfc435feb1334a6c1899a38996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Tue, 1 Sep 2020 20:01:36 +0200 Subject: [PATCH] Fix context sharing --- src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.cpp b/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.cpp index a87d7fadf..07094bd4f 100644 --- a/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.cpp +++ b/src/Nazara/OpenGLRenderer/Wrapper/EGL/EGLLoader.cpp @@ -113,7 +113,7 @@ namespace Nz::GL return {}; } - if (!context->Create(params, handle, /*static_cast(shareContext)*/nullptr)) + if (!context->Create(params, handle, static_cast(shareContext))) { NazaraError("failed to create context"); return {};