Commit d06cdcd6 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wined3d: Disable WINED3DFMT_D16_LOCKABLE on backbuffer ORM.

parent 65b3279b
......@@ -3134,6 +3134,9 @@ static BOOL init_format_texture_info(struct wined3d_adapter *adapter, struct win
&& (format->f.flags[WINED3D_GL_RES_TYPE_TEX_2D] & WINED3DFMT_FLAG_INTEGER))
continue;
if (wined3d_settings.offscreen_rendering_mode != ORM_FBO && format->f.id == WINED3DFMT_D16_LOCKABLE)
continue;
format->internal = format_texture_info[i].gl_internal;
format->srgb_internal = format_texture_info[i].gl_srgb_internal;
format->rt_internal = format_texture_info[i].gl_rt_internal;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment