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
fbc3cf89
Commit
fbc3cf89
authored
Aug 13, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove some unused fields from struct wined3d_gl_info.
parent
42c2d06b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
directx.c
dlls/wined3d/directx.c
+0
-9
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+0
-3
No files found.
dlls/wined3d/directx.c
View file @
fbc3cf89
...
...
@@ -1187,14 +1187,11 @@ static BOOL IWineD3DImpl_FillGLCaps(struct wined3d_gl_info *gl_info)
gl_info
->
max_vertex_samplers
=
0
;
gl_info
->
max_combined_samplers
=
gl_info
->
max_fragment_samplers
+
gl_info
->
max_vertex_samplers
;
gl_info
->
max_sampler_stages
=
1
;
gl_info
->
ps_arb_version
=
PS_VERSION_NOT_SUPPORTED
;
gl_info
->
ps_arb_max_temps
=
0
;
gl_info
->
ps_arb_max_instructions
=
0
;
gl_info
->
vs_arb_version
=
VS_VERSION_NOT_SUPPORTED
;
gl_info
->
vs_arb_max_temps
=
0
;
gl_info
->
vs_arb_max_instructions
=
0
;
gl_info
->
vs_nv_version
=
VS_VERSION_NOT_SUPPORTED
;
gl_info
->
vs_ati_version
=
VS_VERSION_NOT_SUPPORTED
;
gl_info
->
vs_glsl_constantsF
=
0
;
gl_info
->
ps_glsl_constantsF
=
0
;
gl_info
->
vs_arb_constantsF
=
0
;
...
...
@@ -1433,7 +1430,6 @@ static BOOL IWineD3DImpl_FillGLCaps(struct wined3d_gl_info *gl_info)
}
if
(
gl_info
->
supported
[
ARB_FRAGMENT_PROGRAM
])
{
gl_info
->
ps_arb_version
=
PS_VERSION_11
;
GL_EXTCALL
(
glGetProgramivARB
(
GL_FRAGMENT_PROGRAM_ARB
,
GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
,
&
gl_max
));
gl_info
->
ps_arb_constantsF
=
gl_max
;
TRACE_
(
d3d_caps
)(
"Max ARB_FRAGMENT_PROGRAM float constants: %d.
\n
"
,
gl_info
->
ps_arb_constantsF
);
...
...
@@ -1446,7 +1442,6 @@ static BOOL IWineD3DImpl_FillGLCaps(struct wined3d_gl_info *gl_info)
}
if
(
gl_info
->
supported
[
ARB_VERTEX_PROGRAM
])
{
gl_info
->
vs_arb_version
=
VS_VERSION_11
;
GL_EXTCALL
(
glGetProgramivARB
(
GL_VERTEX_PROGRAM_ARB
,
GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
,
&
gl_max
));
gl_info
->
vs_arb_constantsF
=
gl_max
;
TRACE_
(
d3d_caps
)(
"Max ARB_VERTEX_PROGRAM float constants: %d.
\n
"
,
gl_info
->
vs_arb_constantsF
);
...
...
@@ -1474,10 +1469,6 @@ static BOOL IWineD3DImpl_FillGLCaps(struct wined3d_gl_info *gl_info)
gl_info
->
max_glsl_varyings
=
gl_max
;
TRACE_
(
d3d_caps
)(
"Max GLSL varyings: %u (%u 4 component varyings).
\n
"
,
gl_max
,
gl_max
/
4
);
}
if
(
gl_info
->
supported
[
EXT_VERTEX_SHADER
])
{
gl_info
->
vs_ati_version
=
VS_VERSION_11
;
}
if
(
gl_info
->
supported
[
NV_VERTEX_PROGRAM3
])
{
gl_info
->
vs_nv_version
=
VS_VERSION_30
;
...
...
dlls/wined3d/wined3d_gl.h
View file @
fbc3cf89
...
...
@@ -4004,12 +4004,9 @@ struct wined3d_gl_info
unsigned
int
vs_glsl_constantsF
;
unsigned
int
ps_glsl_constantsF
;
GL_PSVersion
ps_arb_version
;
GL_PSVersion
ps_nv_version
;
GL_VSVersion
vs_arb_version
;
GL_VSVersion
vs_nv_version
;
GL_VSVersion
vs_ati_version
;
DWORD
reserved_glsl_constants
;
...
...
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