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
6647c8f7
Commit
6647c8f7
authored
Jun 02, 2011
by
Matteo Bruni
Committed by
Alexandre Julliard
Jun 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Mark some texture formats as filterable.
parent
17a6dbf3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
utils.c
dlls/wined3d/utils.c
+3
-3
No files found.
dlls/wined3d/utils.c
View file @
6647c8f7
...
@@ -693,11 +693,11 @@ static const struct wined3d_format_texture_info format_texture_info[] =
...
@@ -693,11 +693,11 @@ static const struct wined3d_format_texture_info format_texture_info[] =
WINED3D_GL_EXT_NONE
,
NULL
},
WINED3D_GL_EXT_NONE
,
NULL
},
{
WINED3DFMT_B2G3R3_UNORM
,
GL_R3_G3_B2
,
GL_R3_G3_B2
,
0
,
{
WINED3DFMT_B2G3R3_UNORM
,
GL_R3_G3_B2
,
GL_R3_G3_B2
,
0
,
GL_RGB
,
GL_UNSIGNED_BYTE_3_3_2
,
0
,
GL_RGB
,
GL_UNSIGNED_BYTE_3_3_2
,
0
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
,
WINED3D_GL_EXT_NONE
,
NULL
},
WINED3D_GL_EXT_NONE
,
NULL
},
{
WINED3DFMT_A8_UNORM
,
GL_ALPHA8
,
GL_ALPHA8
,
0
,
{
WINED3DFMT_A8_UNORM
,
GL_ALPHA8
,
GL_ALPHA8
,
0
,
GL_ALPHA
,
GL_UNSIGNED_BYTE
,
0
,
GL_ALPHA
,
GL_UNSIGNED_BYTE
,
0
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
,
WINED3D_GL_EXT_NONE
,
NULL
},
WINED3D_GL_EXT_NONE
,
NULL
},
{
WINED3DFMT_B4G4R4X4_UNORM
,
GL_RGB4
,
GL_RGB4
,
0
,
{
WINED3DFMT_B4G4R4X4_UNORM
,
GL_RGB4
,
GL_RGB4
,
0
,
GL_BGRA
,
GL_UNSIGNED_SHORT_4_4_4_4_REV
,
0
,
GL_BGRA
,
GL_UNSIGNED_SHORT_4_4_4_4_REV
,
0
,
...
@@ -738,7 +738,7 @@ static const struct wined3d_format_texture_info format_texture_info[] =
...
@@ -738,7 +738,7 @@ static const struct wined3d_format_texture_info format_texture_info[] =
WINED3D_GL_EXT_NONE
,
NULL
},
WINED3D_GL_EXT_NONE
,
NULL
},
{
WINED3DFMT_L4A4_UNORM
,
GL_LUMINANCE4_ALPHA4
,
GL_LUMINANCE4_ALPHA4
,
0
,
{
WINED3DFMT_L4A4_UNORM
,
GL_LUMINANCE4_ALPHA4
,
GL_LUMINANCE4_ALPHA4
,
0
,
GL_LUMINANCE_ALPHA
,
GL_UNSIGNED_BYTE
,
2
,
GL_LUMINANCE_ALPHA
,
GL_UNSIGNED_BYTE
,
2
,
0
,
WINED3DFMT_FLAG_FILTERING
,
WINED3D_GL_EXT_NONE
,
&
convert_l4a4_unorm
},
WINED3D_GL_EXT_NONE
,
&
convert_l4a4_unorm
},
/* Bump mapping stuff */
/* Bump mapping stuff */
{
WINED3DFMT_R8G8_SNORM
,
GL_RGB8
,
GL_RGB8
,
0
,
{
WINED3DFMT_R8G8_SNORM
,
GL_RGB8
,
GL_RGB8
,
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