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
de807eb2
Commit
de807eb2
authored
Jan 08, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Allow 10-bpc formats as render targets.
parent
02442b52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utils.c
dlls/wined3d/utils.c
+2
-2
No files found.
dlls/wined3d/utils.c
View file @
de807eb2
...
...
@@ -715,7 +715,7 @@ static const struct wined3d_format_texture_info format_texture_info[] =
WINED3D_GL_EXT_NONE
,
NULL
},
{
WINED3DFMT_R10G10B10A2_UNORM
,
GL_RGB10_A2
,
GL_RGB10_A2
,
0
,
GL_RGBA
,
GL_UNSIGNED_INT_2_10_10_10_REV
,
0
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
|
WINED3DFMT_FLAG_RENDERTARGET
,
WINED3D_GL_EXT_NONE
,
NULL
},
{
WINED3DFMT_R8G8B8A8_UNORM
,
GL_RGBA8
,
GL_RGBA8
,
0
,
GL_RGBA
,
GL_UNSIGNED_INT_8_8_8_8_REV
,
0
,
...
...
@@ -731,7 +731,7 @@ static const struct wined3d_format_texture_info format_texture_info[] =
WINED3D_GL_EXT_NONE
,
convert_r16g16
},
{
WINED3DFMT_B10G10R10A2_UNORM
,
GL_RGB10_A2
,
GL_RGB10_A2
,
0
,
GL_BGRA
,
GL_UNSIGNED_INT_2_10_10_10_REV
,
0
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
|
WINED3DFMT_FLAG_RENDERTARGET
,
WINED3D_GL_EXT_NONE
,
NULL
},
{
WINED3DFMT_R16G16B16A16_UNORM
,
GL_RGBA16
,
GL_RGBA16
,
0
,
GL_RGBA
,
GL_UNSIGNED_SHORT
,
0
,
...
...
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