From Mike Weiblen, support for ARB_texture_rectangle extension name.

This commit is contained in:
Robert Osfield 2005-11-16 09:28:09 +00:00
parent 10b5d505a2
commit 2d33e6f2ad

View File

@ -121,7 +121,9 @@ void TextureRectangle::setImage(Image* image)
void TextureRectangle::apply(State& state) const
{
static bool s_rectangleSupported = isGLExtensionSupported(state.getContextID(),"GL_EXT_texture_rectangle") || isGLExtensionSupported(state.getContextID(),"GL_NV_texture_rectangle");
static bool s_rectangleSupported = isGLExtensionSupported(state.getContextID(),"GL_ARB_texture_rectangle")
|| isGLExtensionSupported(state.getContextID(),"GL_EXT_texture_rectangle")
|| isGLExtensionSupported(state.getContextID(),"GL_NV_texture_rectangle");
if (!s_rectangleSupported)
{