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
f5d9b221
Commit
f5d9b221
authored
Aug 08, 2006
by
Jan Zerebecki
Committed by
Alexandre Julliard
Aug 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Correct check for GL ext. support in MULTISAMPLEANTIALIAS.
parent
f02af240
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
11 deletions
+18
-11
device.c
dlls/wined3d/device.c
+18
-11
No files found.
dlls/wined3d/device.c
View file @
f5d9b221
...
...
@@ -4363,24 +4363,31 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, D
so far as I can tell, wrapping and texture-coordinate generate go hand in hand,
*/
TRACE
(
"(%p)->(%s,%ld) Texture wraping not yet supported
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
case
WINED3DRS_MULTISAMPLEANTIALIAS
:
{
if
(
!
GL_SUPPORT
(
ARB_MULTISAMPLE
))
{
TRACE
(
"Multisample antialiasing not supported
\n
"
);
break
;
if
(
Value
)
{
ERR
(
"(%p)->(%s,%ld) Texture wraping not yet supported
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
}
break
;
}
if
(
Value
)
{
glEnable
(
GL_MULTISAMPLE_ARB
);
checkGLcall
(
"glEnable(GL_MULTISAMPLE_ARB)"
);
case
WINED3DRS_MULTISAMPLEANTIALIAS
:
{
if
(
GL_SUPPORT
(
ARB_MULTISAMPLE
)
)
{
if
(
Value
)
{
glEnable
(
GL_MULTISAMPLE_ARB
);
checkGLcall
(
"glEnable(GL_MULTISAMPLE_ARB)"
);
}
else
{
glDisable
(
GL_MULTISAMPLE_ARB
);
checkGLcall
(
"glDisable(GL_MULTISAMPLE_ARB)"
);
}
}
else
{
glDisable
(
GL_MULTISAMPLE_ARB
);
checkGLcall
(
"glDisable(GL_MULTISAMPLE_ARB)"
);
if
(
Value
)
{
ERR
(
"Multisample antialiasing not supported by gl
\n
"
);
}
}
break
;
}
case
WINED3DRS_SCISSORTESTENABLE
:
{
if
(
Value
)
{
...
...
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