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
eac64053
Commit
eac64053
authored
Aug 25, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the location fixup for ORM_FBO in surface_modify_location().
parent
68a5305d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
14 deletions
+3
-14
surface.c
dlls/wined3d/surface.c
+3
-14
No files found.
dlls/wined3d/surface.c
View file @
eac64053
...
@@ -5793,20 +5793,9 @@ void surface_modify_location(struct wined3d_surface *surface, DWORD location, BO
...
@@ -5793,20 +5793,9 @@ void surface_modify_location(struct wined3d_surface *surface, DWORD location, BO
TRACE
(
"surface %p, location %s, persistent %#x.
\n
"
,
TRACE
(
"surface %p, location %s, persistent %#x.
\n
"
,
surface
,
debug_surflocation
(
location
),
persistent
);
surface
,
debug_surflocation
(
location
),
persistent
);
if
(
wined3d_settings
.
offscreen_rendering_mode
==
ORM_FBO
)
if
(
wined3d_settings
.
offscreen_rendering_mode
==
ORM_FBO
&&
surface_is_offscreen
(
surface
)
{
&&
(
location
&
SFLAG_INDRAWABLE
))
if
(
surface_is_offscreen
(
surface
))
ERR
(
"Trying to invalidate the SFLAG_INDRAWABLE location of an offscreen surface.
\n
"
);
{
/* With ORM_FBO, SFLAG_INTEXTURE and SFLAG_INDRAWABLE are the same
* for offscreen targets. */
if
(
location
&
(
SFLAG_INTEXTURE
|
SFLAG_INDRAWABLE
))
location
|=
(
SFLAG_INTEXTURE
|
SFLAG_INDRAWABLE
);
}
else
{
TRACE
(
"Surface %p is an onscreen surface.
\n
"
,
surface
);
}
}
if
(
location
&
(
SFLAG_INTEXTURE
|
SFLAG_INSRGBTEX
)
if
(
location
&
(
SFLAG_INTEXTURE
|
SFLAG_INSRGBTEX
)
&&
gl_info
->
supported
[
EXT_TEXTURE_SRGB_DECODE
])
&&
gl_info
->
supported
[
EXT_TEXTURE_SRGB_DECODE
])
...
...
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