Commit 2b0271b1 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

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
parent 64291c60
......@@ -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;
......
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