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
a26c5f9b
Commit
a26c5f9b
authored
Jul 07, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make the surface parameter to d3dfmt_get_conv() const.
parent
aa554046
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
surface.c
dlls/wined3d/surface.c
+2
-2
wined3d_private.h
dlls/wined3d/wined3d_private.h
+1
-1
No files found.
dlls/wined3d/surface.c
View file @
a26c5f9b
...
...
@@ -4131,11 +4131,11 @@ static void flush_to_framebuffer_drawpixels(struct wined3d_surface *surface,
context_release
(
context
);
}
HRESULT
d3dfmt_get_conv
(
struct
wined3d_surface
*
surface
,
BOOL
need_alpha_ck
,
HRESULT
d3dfmt_get_conv
(
const
struct
wined3d_surface
*
surface
,
BOOL
need_alpha_ck
,
BOOL
use_texturing
,
struct
wined3d_format
*
format
,
CONVERT_TYPES
*
convert
)
{
BOOL
colorkey_active
=
need_alpha_ck
&&
(
surface
->
CKeyFlags
&
WINEDDSD_CKSRCBLT
);
struct
wined3d_device
*
device
=
surface
->
resource
.
device
;
const
struct
wined3d_device
*
device
=
surface
->
resource
.
device
;
const
struct
wined3d_gl_info
*
gl_info
=
&
device
->
adapter
->
gl_info
;
BOOL
blit_supported
=
FALSE
;
...
...
dlls/wined3d/wined3d_private.h
View file @
a26c5f9b
...
...
@@ -2159,7 +2159,7 @@ typedef enum {
CONVERT_RGB32_888
}
CONVERT_TYPES
;
HRESULT
d3dfmt_get_conv
(
struct
wined3d_surface
*
surface
,
BOOL
need_alpha_ck
,
BOOL
use_texturing
,
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
;
void
d3dfmt_p8_init_palette
(
struct
wined3d_surface
*
surface
,
BYTE
table
[
256
][
4
],
BOOL
colorkey
)
DECLSPEC_HIDDEN
;
...
...
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