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
ca83e14a
Commit
ca83e14a
authored
Nov 23, 2011
by
Matteo Bruni
Committed by
Alexandre Julliard
Nov 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Reorder formats in EnumTextureFormats.
parent
1ac60004
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
16 deletions
+12
-16
device.c
dlls/ddraw/device.c
+12
-16
No files found.
dlls/ddraw/device.c
View file @
ca83e14a
...
...
@@ -1059,17 +1059,15 @@ IDirect3DDeviceImpl_7_EnumTextureFormats(IDirect3DDevice7 *iface,
static
const
enum
wined3d_format_id
FormatList
[]
=
{
/* 32 bit */
WINED3DFMT_B8G8R8A8_UNORM
,
WINED3DFMT_B8G8R8X8_UNORM
,
/* 24 bit */
WINED3DFMT_B8G8R8_UNORM
,
/* 16 Bit */
/* 16 bit */
WINED3DFMT_B5G5R5X1_UNORM
,
WINED3DFMT_B5G5R5A1_UNORM
,
WINED3DFMT_B4G4R4A4_UNORM
,
WINED3DFMT_B5G6R5_UNORM
,
WINED3DFMT_B5G5R5X1_UNORM
,
/* 8 Bit */
/* 32 bit */
WINED3DFMT_B8G8R8X8_UNORM
,
WINED3DFMT_B8G8R8A8_UNORM
,
/* 8 bit */
WINED3DFMT_B2G3R3_UNORM
,
WINED3DFMT_P8_UINT
,
/* FOURCC codes */
...
...
@@ -1211,17 +1209,15 @@ IDirect3DDeviceImpl_2_EnumTextureFormats(IDirect3DDevice2 *iface,
static
const
enum
wined3d_format_id
FormatList
[]
=
{
/* 32 bit */
WINED3DFMT_B8G8R8A8_UNORM
,
WINED3DFMT_B8G8R8X8_UNORM
,
/* 24 bit */
WINED3DFMT_B8G8R8_UNORM
,
/* 16 Bit */
/* 16 bit */
WINED3DFMT_B5G5R5X1_UNORM
,
WINED3DFMT_B5G5R5A1_UNORM
,
WINED3DFMT_B4G4R4A4_UNORM
,
WINED3DFMT_B5G6R5_UNORM
,
WINED3DFMT_B5G5R5X1_UNORM
,
/* 8 Bit */
/* 32 bit */
WINED3DFMT_B8G8R8X8_UNORM
,
WINED3DFMT_B8G8R8A8_UNORM
,
/* 8 bit */
WINED3DFMT_B2G3R3_UNORM
,
WINED3DFMT_P8_UINT
,
/* FOURCC codes - Not in this version*/
...
...
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