mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 12:24:10 +00:00
glu32: Remove ARB_texture_cube_map extension ifdef since it's not defined in wgl.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ace830625d
commit
0c65c1824a
|
@ -3372,7 +3372,6 @@ static void closestFit(GLenum target, GLint width, GLint height,
|
||||||
internalFormat,
|
internalFormat,
|
||||||
widthAtLevelOne,heightAtLevelOne,0,format,type,NULL);
|
widthAtLevelOne,heightAtLevelOne,0,format,type,NULL);
|
||||||
} else
|
} else
|
||||||
#if defined(GL_ARB_texture_cube_map)
|
|
||||||
if ((target == GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB) ||
|
if ((target == GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB) ||
|
||||||
(target == GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB) ||
|
(target == GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB) ||
|
||||||
(target == GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB) ||
|
(target == GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB) ||
|
||||||
|
@ -3384,7 +3383,6 @@ static void closestFit(GLenum target, GLint width, GLint height,
|
||||||
internalFormat,
|
internalFormat,
|
||||||
widthAtLevelOne,heightAtLevelOne,0,format,type,NULL);
|
widthAtLevelOne,heightAtLevelOne,0,format,type,NULL);
|
||||||
} else
|
} else
|
||||||
#endif /* GL_ARB_texture_cube_map */
|
|
||||||
{
|
{
|
||||||
assert(target == GL_TEXTURE_1D || target == GL_PROXY_TEXTURE_1D);
|
assert(target == GL_TEXTURE_1D || target == GL_PROXY_TEXTURE_1D);
|
||||||
proxyTarget = GL_PROXY_TEXTURE_1D;
|
proxyTarget = GL_PROXY_TEXTURE_1D;
|
||||||
|
|
Loading…
Reference in a new issue