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
f1aea860
Commit
f1aea860
authored
Jul 18, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix the draw buffer limit calculation.
parent
5f83f2cd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
directx.c
dlls/wined3d/directx.c
+1
-1
No files found.
dlls/wined3d/directx.c
View file @
f1aea860
...
@@ -2403,7 +2403,7 @@ static void wined3d_adapter_init_limits(struct wined3d_gl_info *gl_info)
...
@@ -2403,7 +2403,7 @@ static void wined3d_adapter_init_limits(struct wined3d_gl_info *gl_info)
gl_info
->
limits
.
general_combiners
=
gl_max
;
gl_info
->
limits
.
general_combiners
=
gl_max
;
TRACE
(
"Max general combiners: %d.
\n
"
,
gl_max
);
TRACE
(
"Max general combiners: %d.
\n
"
,
gl_max
);
}
}
if
(
gl_info
->
supported
[
ARB_DRAW_BUFFERS
]
&&
wined3d_settings
.
offscreen_rendering_mode
!
=
ORM_FBO
)
if
(
gl_info
->
supported
[
ARB_DRAW_BUFFERS
]
&&
wined3d_settings
.
offscreen_rendering_mode
=
=
ORM_FBO
)
{
{
glGetIntegerv
(
GL_MAX_DRAW_BUFFERS_ARB
,
&
gl_max
);
glGetIntegerv
(
GL_MAX_DRAW_BUFFERS_ARB
,
&
gl_max
);
gl_info
->
limits
.
buffers
=
gl_max
;
gl_info
->
limits
.
buffers
=
gl_max
;
...
...
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