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
db852ff5
Commit
db852ff5
authored
Oct 09, 2013
by
Stefan Dösinger
Committed by
Alexandre Julliard
Oct 09, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove sRGB_decode handling from surface_load_location.
parent
16f7c242
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
surface.c
dlls/wined3d/surface.c
+0
-9
No files found.
dlls/wined3d/surface.c
View file @
db852ff5
...
@@ -5600,9 +5600,6 @@ HRESULT surface_load_location(struct wined3d_surface *surface, DWORD location, c
...
@@ -5600,9 +5600,6 @@ HRESULT surface_load_location(struct wined3d_surface *surface, DWORD location, c
}
}
}
}
if
(
location
==
SFLAG_INSRGBTEX
&&
gl_info
->
supported
[
EXT_TEXTURE_SRGB_DECODE
])
location
=
SFLAG_INTEXTURE
;
if
(
surface
->
flags
&
location
)
if
(
surface
->
flags
&
location
)
{
{
TRACE
(
"Location already up to date.
\n
"
);
TRACE
(
"Location already up to date.
\n
"
);
...
@@ -5663,12 +5660,6 @@ HRESULT surface_load_location(struct wined3d_surface *surface, DWORD location, c
...
@@ -5663,12 +5660,6 @@ HRESULT surface_load_location(struct wined3d_surface *surface, DWORD location, c
surface_evict_sysmem
(
surface
);
surface_evict_sysmem
(
surface
);
}
}
if
(
surface
->
flags
&
(
SFLAG_INTEXTURE
|
SFLAG_INSRGBTEX
)
&&
gl_info
->
supported
[
EXT_TEXTURE_SRGB_DECODE
])
{
surface
->
flags
|=
(
SFLAG_INTEXTURE
|
SFLAG_INSRGBTEX
);
}
return
WINED3D_OK
;
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