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
1c02a909
Commit
1c02a909
authored
Apr 07, 2010
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Apr 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove remaining redundant code from d3dfmt_get_conv.
parent
2b17e291
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
surface.c
dlls/wined3d/surface.c
+0
-5
No files found.
dlls/wined3d/surface.c
View file @
1c02a909
...
...
@@ -2237,8 +2237,6 @@ HRESULT d3dfmt_get_conv(IWineD3DSurfaceImpl *This, BOOL need_alpha_ck, BOOL use_
}
else
{
/* Load it into unsigned R5G6B5, swap L and V channels, and revert that in the shader */
*
target_bpp
=
2
;
*
format
=
GL_RGB
;
*
type
=
GL_UNSIGNED_SHORT_5_6_5
;
}
break
;
...
...
@@ -2253,9 +2251,6 @@ HRESULT d3dfmt_get_conv(IWineD3DSurfaceImpl *This, BOOL need_alpha_ck, BOOL use_
* the needed type and format parameter, so the internal format contains a
* 4th component, which is returned as alpha
*/
}
else
{
*
format
=
GL_BGRA
;
*
type
=
GL_UNSIGNED_INT_8_8_8_8_REV
;
}
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