Remove glGetTexImage/glBindFragDataLocation on GLES.
These functions are not available in GLES3.
This commit is contained in:
@@ -84,7 +84,7 @@ namespace OpenRA.Platforms.Default
|
||||
OpenGL.glBindAttribLocation(program, TintAttributeIndex, "aVertexTint");
|
||||
OpenGL.CheckGLError();
|
||||
|
||||
if (OpenGL.Profile != GLProfile.Legacy)
|
||||
if (OpenGL.Profile == GLProfile.Modern)
|
||||
{
|
||||
OpenGL.glBindFragDataLocation(program, 0, "fragColor");
|
||||
OpenGL.CheckGLError();
|
||||
|
||||
Reference in New Issue
Block a user