
TextureEnvMode.ReplaceExt has a different value than TextureEnvMode.Replace.
Posted Monday, 26 September, 2011 - 14:01 by tksuoran| Project: | The Open Toolkit library |
| Version: | 1.1-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
TextureEnvMode.Replace is missing; it is in All.
TextureEnvMode.ReplaceExt has different value, which is also rejected on driver which accepts All.Replace.


Comments
#1
TextureEvnMode.Replace was added in #2791: TextureEnvMode.Replace missing.
ReplaceExt is defined as part of TextureEnvMode in the specs, yet has a different value than Replace (which is also part of TextureEnvMode). Apparently, GL_REPLACE_EXT was used in very old OpenGL implementations (think SGI/Irix) and was part of EXT_texture, whereas GL_REPLACE was promoted to core in OpenGL 1.2.1. Despite my best efforts, I cannot determine whether this difference is genuine or a bug, so I will leave both in TextureEnvMode.
Please reopen if your card supports EXT_texture but ReplaceExt still returns an InvalidValue.