wined3d: Disable WINED3DFMT_NULL on backbuffer ORM.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d06cdcd646
commit
b67e9ddbb3
|
@ -3134,7 +3134,8 @@ 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)
|
||||
if (wined3d_settings.offscreen_rendering_mode != ORM_FBO
|
||||
&& (format->f.id == WINED3DFMT_D16_LOCKABLE || format->f.id == WINED3DFMT_NULL))
|
||||
continue;
|
||||
|
||||
format->internal = format_texture_info[i].gl_internal;
|
||||
|
|
Loading…
Reference in New Issue