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
2e3cf68e
Commit
2e3cf68e
authored
Jun 02, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jun 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Silence R16 and AL16 fourcc warnings.
parent
663fac5b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
directx.c
dlls/wined3d/directx.c
+2
-0
utils.c
dlls/wined3d/utils.c
+5
-0
wined3d.h
include/wine/wined3d.h
+2
-0
No files found.
dlls/wined3d/directx.c
View file @
2e3cf68e
...
...
@@ -3410,6 +3410,8 @@ static BOOL CheckTextureCapability(const struct wined3d_adapter *adapter, const
case
WINED3DFMT_R16G16B16A16_SNORM
:
case
WINED3DFMT_R10G10B10_SNORM_A2_UNORM
:
case
WINED3DFMT_R10G11B11_SNORM
:
case
WINED3DFMT_R16
:
case
WINED3DFMT_AL16
:
TRACE_
(
d3d_caps
)(
"[FAILED]
\n
"
);
/* Enable when implemented */
return
FALSE
;
...
...
dlls/wined3d/utils.c
View file @
2e3cf68e
...
...
@@ -134,6 +134,9 @@ static const struct StaticPixelFormatDesc formats[] =
{
WINED3DFMT_NVHU
,
0x0
,
0x0
,
0x0
,
0x0
,
2
,
0
,
0
},
{
WINED3DFMT_NVHS
,
0x0
,
0x0
,
0x0
,
0x0
,
2
,
0
,
0
},
{
WINED3DFMT_NULL
,
0xff000000
,
0x000000ff
,
0x0000ff00
,
0x00ff0000
,
4
,
0
,
0
},
/* Unsure about them, could not find a Windows driver that supports them */
{
WINED3DFMT_R16
,
0x0
,
0x0000ffff
,
0x0
,
0x0
,
2
,
0
,
0
},
{
WINED3DFMT_AL16
,
0xffff0000
,
0x0
,
0x0
,
0x0
,
4
,
0
,
0
},
};
struct
wined3d_format_base_flags
...
...
@@ -1765,6 +1768,8 @@ const char *debug_d3dformat(enum wined3d_format_id format_id)
FMT_TO_STR
(
WINED3DFMT_B8G8R8X8_UNORM
);
FMT_TO_STR
(
WINED3DFMT_INTZ
);
FMT_TO_STR
(
WINED3DFMT_NULL
);
FMT_TO_STR
(
WINED3DFMT_R16
);
FMT_TO_STR
(
WINED3DFMT_AL16
);
#undef FMT_TO_STR
default:
{
...
...
include/wine/wined3d.h
View file @
2e3cf68e
...
...
@@ -252,6 +252,8 @@ enum wined3d_format_id
WINED3DFMT_NVHS
=
WINEMAKEFOURCC
(
'N'
,
'V'
,
'H'
,
'S'
),
WINED3DFMT_INTZ
=
WINEMAKEFOURCC
(
'I'
,
'N'
,
'T'
,
'Z'
),
WINED3DFMT_NULL
=
WINEMAKEFOURCC
(
'N'
,
'U'
,
'L'
,
'L'
),
WINED3DFMT_R16
=
WINEMAKEFOURCC
(
' '
,
'R'
,
'1'
,
'6'
),
WINED3DFMT_AL16
=
WINEMAKEFOURCC
(
'A'
,
'L'
,
'1'
,
'6'
),
WINED3DFMT_FORCE_DWORD
=
0xffffffff
};
...
...
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