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
bb4b86f3
Commit
bb4b86f3
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 rt parameter to surface_set_compatible_renderbuffer() const.
parent
1a74194f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
surface.c
dlls/wined3d/surface.c
+1
-1
wined3d_private.h
dlls/wined3d/wined3d_private.h
+2
-1
No files found.
dlls/wined3d/surface.c
View file @
bb4b86f3
...
...
@@ -2349,7 +2349,7 @@ static void surface_allocate_surface(struct wined3d_surface *surface, const stru
* render target dimensions. With FBOs, the dimensions have to be an exact match. */
/* TODO: We should synchronize the renderbuffer's content with the texture's content. */
/* GL locking is done by the caller */
void
surface_set_compatible_renderbuffer
(
struct
wined3d_surface
*
surface
,
struct
wined3d_surface
*
rt
)
void
surface_set_compatible_renderbuffer
(
struct
wined3d_surface
*
surface
,
const
struct
wined3d_surface
*
rt
)
{
const
struct
wined3d_gl_info
*
gl_info
=
&
surface
->
resource
.
device
->
adapter
->
gl_info
;
struct
wined3d_renderbuffer_entry
*
entry
;
...
...
dlls/wined3d/wined3d_private.h
View file @
bb4b86f3
...
...
@@ -2080,7 +2080,8 @@ void surface_modify_ds_location(struct wined3d_surface *surface, DWORD location,
void
surface_modify_location
(
struct
wined3d_surface
*
surface
,
DWORD
location
,
BOOL
persistent
)
DECLSPEC_HIDDEN
;
void
surface_prepare_texture
(
struct
wined3d_surface
*
surface
,
const
struct
wined3d_gl_info
*
gl_info
,
BOOL
srgb
)
DECLSPEC_HIDDEN
;
void
surface_set_compatible_renderbuffer
(
struct
wined3d_surface
*
surface
,
struct
wined3d_surface
*
rt
)
DECLSPEC_HIDDEN
;
void
surface_set_compatible_renderbuffer
(
struct
wined3d_surface
*
surface
,
const
struct
wined3d_surface
*
rt
)
DECLSPEC_HIDDEN
;
void
surface_set_container
(
struct
wined3d_surface
*
surface
,
enum
wined3d_container_type
type
,
void
*
container
)
DECLSPEC_HIDDEN
;
void
surface_set_texture_name
(
struct
wined3d_surface
*
surface
,
GLuint
name
,
BOOL
srgb_name
)
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