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
d8b00ecf
Commit
d8b00ecf
authored
Jan 20, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the CONVERT_TYPES typedef.
parent
8692ff48
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
43 deletions
+49
-43
surface.c
dlls/wined3d/surface.c
+38
-33
wined3d_private.h
dlls/wined3d/wined3d_private.h
+11
-10
No files found.
dlls/wined3d/surface.c
View file @
d8b00ecf
This diff is collapsed.
Click to expand it.
dlls/wined3d/wined3d_private.h
View file @
d8b00ecf
...
...
@@ -2180,18 +2180,19 @@ void flip_surface(struct wined3d_surface *front, struct wined3d_surface *back) D
SFLAG_INRB_MULTISAMPLE | \
SFLAG_INRB_RESOLVED)
typedef
enum
{
NO_CONVERSION
,
CONVERT_PALETTED
,
CONVERT_PALETTED_CK
,
CONVERT_CK_565
,
CONVERT_CK_5551
,
CONVERT_CK_RGB24
,
CONVERT_RGB32_888
}
CONVERT_TYPES
;
enum
wined3d_conversion_type
{
WINED3D_CT_NONE
,
WINED3D_CT_PALETTED
,
WINED3D_CT_PALETTED_CK
,
WINED3D_CT_CK_565
,
WINED3D_CT_CK_5551
,
WINED3D_CT_CK_RGB24
,
WINED3D_CT_RGB32_888
,
};
HRESULT
d3dfmt_get_conv
(
const
struct
wined3d_surface
*
surface
,
BOOL
need_alpha_ck
,
BOOL
use_texturing
,
struct
wined3d_format
*
format
,
CONVERT_TYPES
*
convert
)
DECLSPEC_HIDDEN
;
struct
wined3d_format
*
format
,
enum
wined3d_conversion_type
*
conversion_type
)
DECLSPEC_HIDDEN
;
void
d3dfmt_p8_init_palette
(
const
struct
wined3d_surface
*
surface
,
BYTE
table
[
256
][
4
],
BOOL
colorkey
)
DECLSPEC_HIDDEN
;
struct
wined3d_vertex_declaration_element
...
...
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