Fix a crash when using legacy GL.

This commit is contained in:
Paul Chote
2021-04-23 23:57:30 +01:00
committed by abcdefg30
parent 7e19d6a205
commit a6d393f19b

View File

@@ -631,6 +631,7 @@ namespace OpenRA.Platforms.Default
glGenVertexArrays = null;
glBindVertexArray = null;
glBindFragDataLocation = null;
glGetTexImage = Bind<GetTexImage>("glGetTexImage");
glGenFramebuffers = Bind<GenFramebuffers>("glGenFramebuffersEXT");
glBindFramebuffer = Bind<BindFramebuffer>("glBindFramebufferEXT");
glFramebufferTexture2D = Bind<FramebufferTexture2D>("glFramebufferTexture2DEXT");