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
2702f28e
Commit
2702f28e
authored
Mar 11, 2015
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Remove support for V16U16.
None of my Windows drivers support this format. At best this will confuse applications trying to pick X8L8V8U8.
parent
b07b3502
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
device.c
dlls/ddraw/device.c
+0
-1
utils.c
dlls/ddraw/utils.c
+0
-17
No files found.
dlls/ddraw/device.c
View file @
2702f28e
...
...
@@ -1066,7 +1066,6 @@ static HRESULT d3d_device7_EnumTextureFormats(IDirect3DDevice7 *iface,
WINED3DFMT_R8G8_SNORM
,
WINED3DFMT_R5G5_SNORM_L6_UNORM
,
WINED3DFMT_R8G8_SNORM_L8X8_UNORM
,
WINED3DFMT_R16G16_SNORM
,
WINED3DFMT_R10G11B11_SNORM
,
WINED3DFMT_R10G10B10_SNORM_A2_UNORM
};
...
...
dlls/ddraw/utils.c
View file @
2702f28e
...
...
@@ -299,16 +299,6 @@ void ddrawformat_from_wined3dformat(DDPIXELFORMAT *DDPixelFormat, enum wined3d_f
DDPixelFormat
->
u5
.
dwLuminanceAlphaBitMask
=
0x00000000
;
break
;
case
WINED3DFMT_R16G16_SNORM
:
DDPixelFormat
->
dwFlags
=
DDPF_BUMPDUDV
;
DDPixelFormat
->
dwFourCC
=
0
;
DDPixelFormat
->
u1
.
dwBumpBitCount
=
32
;
DDPixelFormat
->
u2
.
dwBumpDuBitMask
=
0x0000ffff
;
DDPixelFormat
->
u3
.
dwBumpDvBitMask
=
0xffff0000
;
DDPixelFormat
->
u4
.
dwBumpLuminanceBitMask
=
0x00000000
;
DDPixelFormat
->
u5
.
dwLuminanceAlphaBitMask
=
0x00000000
;
break
;
case
WINED3DFMT_R5G5_SNORM_L6_UNORM
:
DDPixelFormat
->
dwFlags
=
DDPF_BUMPDUDV
|
DDPF_BUMPLUMINANCE
;
DDPixelFormat
->
dwFourCC
=
0
;
...
...
@@ -551,13 +541,6 @@ enum wined3d_format_id wined3dformat_from_ddrawformat(const DDPIXELFORMAT *DDPix
{
return
WINED3DFMT_R8G8_SNORM
;
}
else
if
(
(
DDPixelFormat
->
u1
.
dwBumpBitCount
==
32
)
&&
(
DDPixelFormat
->
u2
.
dwBumpDuBitMask
==
0x0000ffff
)
&&
(
DDPixelFormat
->
u3
.
dwBumpDvBitMask
==
0xffff0000
)
&&
(
DDPixelFormat
->
u4
.
dwBumpLuminanceBitMask
==
0x00000000
)
)
{
return
WINED3DFMT_R16G16_SNORM
;
}
else
if
(
(
DDPixelFormat
->
u1
.
dwBumpBitCount
==
16
)
&&
(
DDPixelFormat
->
u2
.
dwBumpDuBitMask
==
0x0000001f
)
&&
(
DDPixelFormat
->
u3
.
dwBumpDvBitMask
==
0x000003e0
)
&&
...
...
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