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
08c2a235
Commit
08c2a235
authored
Jan 27, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Just use the GL 1.1 texture format constants.
We assume GL 1.1 is available everywhere else.
parent
0e1bc3ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
utils.c
dlls/wined3d/utils.c
+4
-4
No files found.
dlls/wined3d/utils.c
View file @
08c2a235
...
...
@@ -387,7 +387,7 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = {
GL_RGBA
,
GL_UNSIGNED_INT_8_8_8_8_REV
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
,
WINED3D_GL_EXT_NONE
},
{
WINED3DFMT_R16G16_UNORM
,
GL_RGB16
_EXT
,
GL_RGB16_EXT
,
GL_RGBA16_EXT
,
{
WINED3DFMT_R16G16_UNORM
,
GL_RGB16
,
GL_RGB16
,
GL_RGBA16
,
GL_RGB
,
GL_UNSIGNED_SHORT
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
,
WINED3D_GL_EXT_NONE
},
...
...
@@ -395,7 +395,7 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = {
GL_BGRA
,
GL_UNSIGNED_INT_2_10_10_10_REV
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
,
WINED3D_GL_EXT_NONE
},
{
WINED3DFMT_R16G16B16A16_UNORM
,
GL_RGBA16
_EXT
,
GL_RGBA16_EXT
,
0
,
{
WINED3DFMT_R16G16B16A16_UNORM
,
GL_RGBA16
,
GL_RGBA16
,
0
,
GL_RGBA
,
GL_UNSIGNED_SHORT
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
|
WINED3DFMT_FLAG_RENDERTARGET
,
WINED3D_GL_EXT_NONE
},
...
...
@@ -445,7 +445,7 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = {
GL_RGBA
,
GL_BYTE
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
,
NV_TEXTURE_SHADER
},
{
WINED3DFMT_R16G16_SNORM
,
GL_RGB16
_EXT
,
GL_RGB16_EXT
,
0
,
{
WINED3DFMT_R16G16_SNORM
,
GL_RGB16
,
GL_RGB16
,
0
,
GL_BGR
,
GL_UNSIGNED_SHORT
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
,
WINED3D_GL_EXT_NONE
},
...
...
@@ -506,7 +506,7 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = {
GL_DEPTH_COMPONENT
,
GL_UNSIGNED_SHORT
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
|
WINED3DFMT_FLAG_DEPTH
,
ARB_DEPTH_TEXTURE
},
{
WINED3DFMT_L16_UNORM
,
GL_LUMINANCE16
_EXT
,
GL_LUMINANCE16_EXT
,
0
,
{
WINED3DFMT_L16_UNORM
,
GL_LUMINANCE16
,
GL_LUMINANCE16
,
0
,
GL_LUMINANCE
,
GL_UNSIGNED_SHORT
,
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
,
WINED3D_GL_EXT_NONE
},
...
...
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