From a6d393f19bfb36a4847cdf46b009fad6a48eb909 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 23 Apr 2021 23:57:30 +0100 Subject: [PATCH] Fix a crash when using legacy GL. --- OpenRA.Platforms.Default/OpenGL.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Platforms.Default/OpenGL.cs b/OpenRA.Platforms.Default/OpenGL.cs index 6a1dfb0e6d..15ef0647d9 100644 --- a/OpenRA.Platforms.Default/OpenGL.cs +++ b/OpenRA.Platforms.Default/OpenGL.cs @@ -631,6 +631,7 @@ namespace OpenRA.Platforms.Default glGenVertexArrays = null; glBindVertexArray = null; glBindFragDataLocation = null; + glGetTexImage = Bind("glGetTexImage"); glGenFramebuffers = Bind("glGenFramebuffersEXT"); glBindFramebuffer = Bind("glBindFramebufferEXT"); glFramebufferTexture2D = Bind("glFramebufferTexture2DEXT");