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
fd8dbf08
Commit
fd8dbf08
authored
Jun 23, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Make the surface parameter to surface_get_gl_buffer() const.
parent
0ce282ed
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 @
fd8dbf08
...
...
@@ -2412,9 +2412,9 @@ void surface_set_compatible_renderbuffer(struct wined3d_surface *surface, struct
checkGLcall
(
"set_compatible_renderbuffer"
);
}
GLenum
surface_get_gl_buffer
(
struct
wined3d_surface
*
surface
)
GLenum
surface_get_gl_buffer
(
const
struct
wined3d_surface
*
surface
)
{
struct
wined3d_swapchain
*
swapchain
=
surface
->
container
.
u
.
swapchain
;
const
struct
wined3d_swapchain
*
swapchain
=
surface
->
container
.
u
.
swapchain
;
TRACE
(
"surface %p.
\n
"
,
surface
);
...
...
dlls/wined3d/wined3d_private.h
View file @
fd8dbf08
...
...
@@ -2107,7 +2107,7 @@ static inline GLuint surface_get_texture_name(struct wined3d_surface *surface,
void
surface_add_dirty_rect
(
struct
wined3d_surface
*
surface
,
const
WINED3DBOX
*
dirty_rect
)
DECLSPEC_HIDDEN
;
void
surface_bind
(
struct
wined3d_surface
*
surface
,
const
struct
wined3d_gl_info
*
gl_info
,
BOOL
srgb
)
DECLSPEC_HIDDEN
;
HRESULT
surface_color_fill
(
struct
wined3d_surface
*
s
,
const
RECT
*
rect
,
const
WINED3DCOLORVALUE
*
color
)
DECLSPEC_HIDDEN
;
GLenum
surface_get_gl_buffer
(
struct
wined3d_surface
*
surface
)
DECLSPEC_HIDDEN
;
GLenum
surface_get_gl_buffer
(
const
struct
wined3d_surface
*
surface
)
DECLSPEC_HIDDEN
;
BOOL
surface_init_sysmem
(
struct
wined3d_surface
*
surface
)
DECLSPEC_HIDDEN
;
void
surface_internal_preload
(
struct
wined3d_surface
*
surface
,
enum
WINED3DSRGB
srgb
)
DECLSPEC_HIDDEN
;
BOOL
surface_is_offscreen
(
const
struct
wined3d_surface
*
surface
)
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