Stefan Dösinger : wined3d: Allow using a different internal format for fbos.

Alexandre Julliard julliard at winehq.org
Wed Nov 28 08:01:45 CST 2007


Module: wine
Branch: master
Commit: a0127f2e1fe819fbe78cece3636c77cff559dce8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a0127f2e1fe819fbe78cece3636c77cff559dce8

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Fri Nov 23 14:17:21 2007 +0100

wined3d: Allow using a different internal format for fbos.

OpenGL drivers do not support some low precision internal formats
like GL_RGB5 for fbo color targets. Direct3D application depend on them,
so provide a fallback format for render targets if the requested format
itself is not supported.

---

 dlls/wined3d/surface.c    |    9 ++-
 dlls/wined3d/utils.c      |  168 ++++++++++++++++++++++++++++-----------------
 include/wine/wined3d_gl.h |    2 +-
 3 files changed, 113 insertions(+), 66 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=a0127f2e1fe819fbe78cece3636c77cff559dce8



More information about the wine-cvs mailing list