wined3d: Use GL_COLOR_ATTACHMENT0 as offscreen buffer with FBOs.
This is used by the offscreen render target->texture blit code if FBOs are enabled, but FBO_blit is not supported
This commit is contained in:
parent
64291c60cb
commit
2b0271b185
|
@ -1882,6 +1882,9 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Init3D(IWineD3DDevice *iface,
|
|||
|
||||
switch(wined3d_settings.offscreen_rendering_mode) {
|
||||
case ORM_FBO:
|
||||
This->offscreenBuffer = GL_COLOR_ATTACHMENT0;
|
||||
break;
|
||||
|
||||
case ORM_PBUFFER:
|
||||
This->offscreenBuffer = GL_BACK;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue