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
e8ec01ad
Commit
e8ec01ad
authored
Jun 09, 2015
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jun 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use renderbuffers if the resource type is RB.
parent
1a2d520e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
resource.c
dlls/wined3d/resource.c
+2
-0
surface.c
dlls/wined3d/surface.c
+3
-0
No files found.
dlls/wined3d/resource.c
View file @
e8ec01ad
...
@@ -402,6 +402,8 @@ void wined3d_resource_update_draw_binding(struct wined3d_resource *resource)
...
@@ -402,6 +402,8 @@ void wined3d_resource_update_draw_binding(struct wined3d_resource *resource)
resource
->
draw_binding
=
WINED3D_LOCATION_DRAWABLE
;
resource
->
draw_binding
=
WINED3D_LOCATION_DRAWABLE
;
else
if
(
resource
->
multisample_type
)
else
if
(
resource
->
multisample_type
)
resource
->
draw_binding
=
WINED3D_LOCATION_RB_MULTISAMPLE
;
resource
->
draw_binding
=
WINED3D_LOCATION_RB_MULTISAMPLE
;
else
if
(
resource
->
gl_type
==
WINED3D_GL_RES_TYPE_RB
)
resource
->
draw_binding
=
WINED3D_LOCATION_RB_RESOLVED
;
else
else
resource
->
draw_binding
=
WINED3D_LOCATION_TEXTURE_RGB
;
resource
->
draw_binding
=
WINED3D_LOCATION_TEXTURE_RGB
;
}
}
dlls/wined3d/surface.c
View file @
e8ec01ad
...
@@ -3716,6 +3716,9 @@ void surface_load_ds_location(struct wined3d_surface *surface, struct wined3d_co
...
@@ -3716,6 +3716,9 @@ void surface_load_ds_location(struct wined3d_surface *surface, struct wined3d_co
case
WINED3D_LOCATION_RB_MULTISAMPLE
:
case
WINED3D_LOCATION_RB_MULTISAMPLE
:
surface_prepare_rb
(
surface
,
gl_info
,
TRUE
);
surface_prepare_rb
(
surface
,
gl_info
,
TRUE
);
break
;
break
;
case
WINED3D_LOCATION_RB_RESOLVED
:
surface_prepare_rb
(
surface
,
gl_info
,
FALSE
);
break
;
case
WINED3D_LOCATION_DRAWABLE
:
case
WINED3D_LOCATION_DRAWABLE
:
/* Nothing to do */
/* Nothing to do */
break
;
break
;
...
...
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