Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5ac8a7b0
Commit
5ac8a7b0
authored
Jun 10, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Set explicitly sized internal formats for color key conversion in d3dfmt_get_conv().
parent
cfb76176
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
surface.c
dlls/wined3d/surface.c
+4
-4
No files found.
dlls/wined3d/surface.c
View file @
5ac8a7b0
...
...
@@ -1691,7 +1691,7 @@ HRESULT d3dfmt_get_conv(IWineD3DSurfaceImpl *This, BOOL need_alpha_ck, BOOL use_
if
(
colorkey_active
)
{
*
convert
=
CONVERT_CK_565
;
*
format
=
GL_RGBA
;
*
internal
=
GL_RGB
A
;
*
internal
=
GL_RGB
5_A1
;
*
type
=
GL_UNSIGNED_SHORT_5_5_5_1
;
}
break
;
...
...
@@ -1700,7 +1700,7 @@ HRESULT d3dfmt_get_conv(IWineD3DSurfaceImpl *This, BOOL need_alpha_ck, BOOL use_
if
(
colorkey_active
)
{
*
convert
=
CONVERT_CK_5551
;
*
format
=
GL_BGRA
;
*
internal
=
GL_RGB
A
;
*
internal
=
GL_RGB
5_A1
;
*
type
=
GL_UNSIGNED_SHORT_1_5_5_5_REV
;
}
break
;
...
...
@@ -1709,7 +1709,7 @@ HRESULT d3dfmt_get_conv(IWineD3DSurfaceImpl *This, BOOL need_alpha_ck, BOOL use_
if
(
colorkey_active
)
{
*
convert
=
CONVERT_CK_RGB24
;
*
format
=
GL_RGBA
;
*
internal
=
GL_RGBA
;
*
internal
=
GL_RGBA
8
;
*
type
=
GL_UNSIGNED_INT_8_8_8_8
;
*
target_bpp
=
4
;
}
...
...
@@ -1719,7 +1719,7 @@ HRESULT d3dfmt_get_conv(IWineD3DSurfaceImpl *This, BOOL need_alpha_ck, BOOL use_
if
(
colorkey_active
)
{
*
convert
=
CONVERT_RGB32_888
;
*
format
=
GL_RGBA
;
*
internal
=
GL_RGBA
;
*
internal
=
GL_RGBA
8
;
*
type
=
GL_UNSIGNED_INT_8_8_8_8
;
}
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