Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1ad485ff
Commit
1ad485ff
authored
Jun 11, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Improve some TRACEs in init_format_fbo_compat_info().
parent
b052c6e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
utils.c
dlls/wined3d/utils.c
+10
-4
No files found.
dlls/wined3d/utils.c
View file @
1ad485ff
...
...
@@ -598,13 +598,15 @@ static void init_format_fbo_compat_info(WineD3D_GL_Info *gl_info)
if
(
wined3d_settings
.
offscreen_rendering_mode
==
ORM_FBO
)
{
TRACE
(
"Checking if format %s is supported as FBO color attachment...
\n
"
,
debug_d3dformat
(
desc
->
format
));
/* Check if the default internal format is supported as a frame buffer target, otherwise
* fall back to the render target internal.
*
* Try to stick to the standard format if possible, this limits precision differences. */
if
(
check_fbo_compat
(
gl_info
,
desc
->
glInternal
,
desc
->
glFormat
,
desc
->
glType
))
{
TRACE
(
"Format %s is supported as
fbo targe
t
\n
"
,
debug_d3dformat
(
desc
->
format
));
TRACE
(
"Format %s is supported as
FBO color attachmen
t
\n
"
,
debug_d3dformat
(
desc
->
format
));
desc
->
Flags
|=
WINED3DFMT_FLAG_FBO_ATTACHABLE
;
desc
->
rtInternal
=
desc
->
glInternal
;
}
...
...
@@ -614,15 +616,19 @@ static void init_format_fbo_compat_info(WineD3D_GL_Info *gl_info)
{
if
(
desc
->
Flags
&
WINED3DFMT_FLAG_RENDERTARGET
)
{
FIXME
(
"
Internal format of %s not supported as FBO target, and no fallback specified.
\n
"
,
debug_d3dformat
(
desc
->
format
));
FIXME
(
"
Format %s with rendertarget flag is not supported as FBO color attachment,"
" and no fallback specified.
\n
"
,
debug_d3dformat
(
desc
->
format
));
desc
->
Flags
&=
~
WINED3DFMT_FLAG_RENDERTARGET
;
}
else
{
TRACE
(
"Format %s is not supported as FBO color attachment.
\n
"
,
debug_d3dformat
(
desc
->
format
));
}
desc
->
rtInternal
=
desc
->
glInternal
;
}
else
{
TRACE
(
"
Internal format of %s not supported as FBO target, using render target internal instead
.
\n
"
,
TRACE
(
"
Format %s is not supported as FBO color attachment, using rtInternal format as fallback
.
\n
"
,
debug_d3dformat
(
desc
->
format
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment