Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c5bf2292
Commit
c5bf2292
authored
Oct 06, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 06, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Print a FIXME for any unhandled format in d3dfmt_get_conv().
parent
dffcc36d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
15 deletions
+9
-15
surface.c
dlls/wined3d/surface.c
+9
-15
No files found.
dlls/wined3d/surface.c
View file @
c5bf2292
...
...
@@ -1625,24 +1625,18 @@ static void d3dfmt_get_conv(const struct wined3d_texture *texture, BOOL need_alp
dst_format_id
=
color_key_info
[
i
].
dst_format
;
break
;
}
}
if
(
texture
->
resource
.
format
->
id
==
WINED3DFMT_P8_UINT
)
{
/* FIXME: This should check if the blitter backend can do P8
* conversion, instead of checking for ARB_fragment_program. */
if
(
!
((
gl_info
->
supported
[
ARB_FRAGMENT_PROGRAM
]
&&
texture
->
swapchain
&&
texture
==
texture
->
swapchain
->
front_buffer
))
||
colorkey_active
)
{
*
conversion_type
=
WINED3D_CT_P8
;
dst_format_id
=
WINED3DFMT_B8G8R8A8_UNORM
;
}
FIXME
(
"Color-keying not supported with format %s.
\n
"
,
debug_d3dformat
(
texture
->
resource
.
format
->
id
));
}
else
if
(
texture
->
resource
.
format
->
id
==
WINED3DFMT_B2G3R3_UNORM
&&
colorkey_active
)
/* FIXME: This should check if the blitter backend can do P8 conversion,
* instead of checking for ARB_fragment_program. */
if
(
texture
->
resource
.
format
->
id
==
WINED3DFMT_P8_UINT
&&
(
!
(
gl_info
->
supported
[
ARB_FRAGMENT_PROGRAM
]
&&
texture
->
swapchain
&&
texture
==
texture
->
swapchain
->
front_buffer
)
||
colorkey_active
))
{
/* This texture format will never be used... So do not care about
* color-keying up until the point in time it will be needed. */
FIXME
(
"Color-keying not supported with WINED3DFMT_B2G3R3_UNORM.
\n
"
);
*
conversion_type
=
WINED3D_CT_P8
;
dst_format_id
=
WINED3DFMT_B8G8R8A8_UNORM
;
}
if
(
*
conversion_type
!=
WINED3D_CT_NONE
)
...
...
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