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
04cb111e
Commit
04cb111e
authored
Dec 01, 2007
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Dec 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix handling of a special case in IWineD3DImpl_FillGLCaps() and adjust…
wined3d: Fix handling of a special case in IWineD3DImpl_FillGLCaps() and adjust type of loop variable.
parent
a20f4a6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
directx.c
dlls/wined3d/directx.c
+6
-2
No files found.
dlls/wined3d/directx.c
View file @
04cb111e
...
...
@@ -464,7 +464,7 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
GLfloat
gl_floatv
[
2
];
int
major
=
1
,
minor
=
0
;
BOOL
return_value
=
TRUE
;
int
i
;
unsigned
i
;
HDC
hdc
;
unsigned
int
vidmem
=
0
;
...
...
@@ -792,7 +792,11 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
FIXME
(
"OpenGL implementation supports %u vertex samplers and %u total samplers
\n
"
,
gl_info
->
max_vertex_samplers
,
gl_info
->
max_combined_samplers
);
FIXME
(
"Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
\n
"
);
gl_info
->
max_vertex_samplers
=
max
(
0
,
gl_info
->
max_combined_samplers
-
MAX_TEXTURES
);
if
(
gl_info
->
max_combined_samplers
>
MAX_TEXTURES
)
gl_info
->
max_vertex_samplers
=
gl_info
->
max_combined_samplers
-
MAX_TEXTURES
;
else
gl_info
->
max_vertex_samplers
=
0
;
}
}
else
{
gl_info
->
max_combined_samplers
=
gl_info
->
max_fragment_samplers
;
...
...
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