Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
80afd749
Commit
80afd749
authored
Oct 02, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Oct 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Report the correct number of available 4-component float vectors for GLSL.
parent
35bd8d32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
directx.c
dlls/wined3d/directx.c
+2
-0
No files found.
dlls/wined3d/directx.c
View file @
80afd749
...
...
@@ -546,6 +546,7 @@ BOOL IWineD3DImpl_FillGLCaps(IWineD3D *iface, Display* display) {
}
else
if
(
strcmp
(
ThisExtn
,
"GL_ARB_fragment_shader"
)
==
0
)
{
gl_info
->
supported
[
ARB_FRAGMENT_SHADER
]
=
TRUE
;
glGetIntegerv
(
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB
,
&
gl_max
);
gl_max
/=
4
;
TRACE_
(
d3d_caps
)(
" FOUND: ARB_fragment_shader (GLSL) support - max float ps constants=%u
\n
"
,
gl_max
);
gl_info
->
ps_glsl_constantsF
=
gl_max
;
}
else
if
(
strcmp
(
ThisExtn
,
"GL_ARB_imaging"
)
==
0
)
{
...
...
@@ -618,6 +619,7 @@ BOOL IWineD3DImpl_FillGLCaps(IWineD3D *iface, Display* display) {
}
else
if
(
strcmp
(
ThisExtn
,
"GL_ARB_vertex_shader"
)
==
0
)
{
gl_info
->
supported
[
ARB_VERTEX_SHADER
]
=
TRUE
;
glGetIntegerv
(
GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
,
&
gl_max
);
gl_max
/=
4
;
TRACE_
(
d3d_caps
)(
" FOUND: ARB_vertex_shader (GLSL) support - max float vs constants=%u
\n
"
,
gl_max
);
gl_info
->
vs_glsl_constantsF
=
gl_max
;
}
else
if
(
strcmp
(
ThisExtn
,
"GL_ARB_vertex_blend"
)
==
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