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
78fda5ce
Commit
78fda5ce
authored
Dec 11, 2013
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Rename surface_load_pbo to surface_create_pbo.
parent
4de7249d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
surface.c
dlls/wined3d/surface.c
+3
-3
No files found.
dlls/wined3d/surface.c
View file @
78fda5ce
...
...
@@ -545,7 +545,7 @@ static BOOL surface_need_pbo(const struct wined3d_surface *surface, const struct
return
TRUE
;
}
static
void
surface_
load
_pbo
(
struct
wined3d_surface
*
surface
,
const
struct
wined3d_gl_info
*
gl_info
)
static
void
surface_
create
_pbo
(
struct
wined3d_surface
*
surface
,
const
struct
wined3d_gl_info
*
gl_info
)
{
struct
wined3d_context
*
context
;
GLenum
error
;
...
...
@@ -586,7 +586,7 @@ static void surface_prepare_system_memory(struct wined3d_surface *surface)
TRACE
(
"surface %p.
\n
"
,
surface
);
if
(
!
(
surface
->
flags
&
SFLAG_PBO
)
&&
surface_need_pbo
(
surface
,
gl_info
))
surface_
load
_pbo
(
surface
,
gl_info
);
surface_
create
_pbo
(
surface
,
gl_info
);
else
if
(
!
(
surface
->
resource
.
allocatedMemory
||
surface
->
flags
&
SFLAG_PBO
))
{
/* Whatever surface we have, make sure that there is memory allocated
...
...
@@ -5244,7 +5244,7 @@ HRESULT surface_load_location(struct wined3d_surface *surface, DWORD location)
if
(
location
==
SFLAG_INSYSMEM
&&
!
(
surface
->
flags
&
SFLAG_PBO
)
&&
surface_need_pbo
(
surface
,
gl_info
))
surface_
load
_pbo
(
surface
,
gl_info
);
surface_
create
_pbo
(
surface
,
gl_info
);
return
WINED3D_OK
;
}
...
...
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