From Mike Weiblen, support for ARB_texture_rectangle extension name.
This commit is contained in:
parent
10b5d505a2
commit
2d33e6f2ad
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user