I am missing the GL_REPLACE value in the
TextureEnvMode.ReplaceExt = ((int)0X8062) has not the right value for GL_REPLACE:
#define GL_REPLACE 0x1E01
At the moment I use
TextureEnvModeCombine.Replace, which has the right value (0x1E01).
GL.TexEnv(TextureEnvTarget.TextureEnv, TextureEnvParameter.TextureEnvMode, (float)TextureEnvModeCombine.Replace);
Is this intented?
Passing a value from the
TextureEnvMode enum would make more sense to me, if
TextureEnvParameter.TextureEnvMode is used in
Or what did I mistake here?