From: Wonyoung Choi Date: Wed, 15 Aug 2018 21:29:09 +0000 (+0900) Subject: [OpenTK] Don't call 'LoadAll' on Tizen for discreasing the launching time X-Git-Tag: submit/tizen/20180917.042405~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70e56ae391edbadf6bbf092def85716af4533bcc;p=platform%2Fcore%2Fcsapi%2Fopentk.git [OpenTK] Don't call 'LoadAll' on Tizen for discreasing the launching time Don't call LoadAll on Tizen, LoadAll load the native entry pointer of OpenGLES. But now OpenTK using dllimport mode on Tizen, it don't need the native entry pointer of OpenGLES. * Cherry-Picked from https://github.com/Samsung/TizenFX/pull/369 --- diff --git a/src/OpenTK/GameWindow.cs b/src/OpenTK/GameWindow.cs index c49fc82a..9fa21845 100644 --- a/src/OpenTK/GameWindow.cs +++ b/src/OpenTK/GameWindow.cs @@ -192,8 +192,9 @@ namespace OpenTK this.isSingleThreaded = isSingleThreaded; glContext = new GraphicsContext(mode == null ? GraphicsMode.Default : mode, WindowInfo, major, minor, flags); glContext.MakeCurrent(WindowInfo); +#if !TIZEN (glContext as IGraphicsContextInternal).LoadAll(); - +#endif VSync = VSyncMode.On; //glWindow.WindowInfoChanged += delegate(object sender, EventArgs e) { OnWindowInfoChangedInternal(e); };