[PATCH 2/5] wined3d: Fall back to backbuffer offscreen rendering if FBOs are unavailable.
Henri Verbeet
hverbeet at codeweavers.com
Wed Jun 17 03:17:09 CDT 2009
Backbuffer appears to be a better choice than PBuffer at the moment, since
PBuffer appears to be somewhat broken.
---
dlls/wined3d/directx.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 05443fc..3354f7b 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1031,8 +1031,8 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
/* We can only use ORM_FBO when the hardware supports it. */
if (wined3d_settings.offscreen_rendering_mode == ORM_FBO && !gl_info->supported[EXT_FRAMEBUFFER_OBJECT]) {
- WARN_(d3d_caps)("GL_EXT_framebuffer_object not supported, falling back to PBuffer offscreen rendering mode.\n");
- wined3d_settings.offscreen_rendering_mode = ORM_PBUFFER;
+ WARN_(d3d_caps)("GL_EXT_framebuffer_object not supported, falling back to backbuffer offscreen rendering mode.\n");
+ wined3d_settings.offscreen_rendering_mode = ORM_BACKBUFFER;
}
/* MRTs are currently only supported when FBOs are used. */
--
1.6.0.6
--------------080505070402090307060106--
More information about the wine-patches
mailing list