Fix a crash when using legacy GL.
This commit is contained in:
@@ -631,6 +631,7 @@ namespace OpenRA.Platforms.Default
|
|||||||
glGenVertexArrays = null;
|
glGenVertexArrays = null;
|
||||||
glBindVertexArray = null;
|
glBindVertexArray = null;
|
||||||
glBindFragDataLocation = null;
|
glBindFragDataLocation = null;
|
||||||
|
glGetTexImage = Bind<GetTexImage>("glGetTexImage");
|
||||||
glGenFramebuffers = Bind<GenFramebuffers>("glGenFramebuffersEXT");
|
glGenFramebuffers = Bind<GenFramebuffers>("glGenFramebuffersEXT");
|
||||||
glBindFramebuffer = Bind<BindFramebuffer>("glBindFramebufferEXT");
|
glBindFramebuffer = Bind<BindFramebuffer>("glBindFramebufferEXT");
|
||||||
glFramebufferTexture2D = Bind<FramebufferTexture2D>("glFramebufferTexture2DEXT");
|
glFramebufferTexture2D = Bind<FramebufferTexture2D>("glFramebufferTexture2DEXT");
|
||||||
|
|||||||
Reference in New Issue
Block a user