diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 00f67d0101f..29f40a4bffd 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -446,10 +446,10 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = { GL_LUMINANCE, GL_UNSIGNED_SHORT, WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING, WINED3D_GL_EXT_NONE}, - {WINED3DFMT_D32F_LOCKABLE, GL_DEPTH_COMPONENT32_ARB, GL_DEPTH_COMPONENT32_ARB, 0, + {WINED3DFMT_D32F_LOCKABLE, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT32F, 0, GL_DEPTH_COMPONENT, GL_FLOAT, WINED3DFMT_FLAG_DEPTH, - ARB_DEPTH_TEXTURE}, + ARB_DEPTH_BUFFER_FLOAT}, {WINED3DFMT_D24FS8, GL_DEPTH_COMPONENT24_ARB, GL_DEPTH_COMPONENT24_ARB, 0, GL_DEPTH_COMPONENT, GL_FLOAT, WINED3DFMT_FLAG_DEPTH,