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
d9557151
Commit
d9557151
authored
Jan 01, 2007
by
Nick Burns
Committed by
Alexandre Julliard
Jan 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix point handling.
parent
7aab8810
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
state.c
dlls/wined3d/state.c
+12
-2
No files found.
dlls/wined3d/state.c
View file @
d9557151
...
...
@@ -919,7 +919,12 @@ static void state_psizemin(DWORD state, IWineD3DStateBlockImpl *stateblock) {
float
f
;
}
tmpvalue
;
if
(
GL_SUPPORT
(
EXT_POINT_PARAMETERS
))
{
if
(
GL_SUPPORT
(
ARB_POINT_PARAMETERS
))
{
tmpvalue
.
d
=
stateblock
->
renderState
[
WINED3DRS_POINTSIZE_MIN
];
GL_EXTCALL
(
glPointParameterfARB
)(
GL_POINT_SIZE_MIN_ARB
,
tmpvalue
.
f
);
checkGLcall
(
"glPointParameterfARB(..."
);
}
else
if
(
GL_SUPPORT
(
EXT_POINT_PARAMETERS
))
{
tmpvalue
.
d
=
stateblock
->
renderState
[
WINED3DRS_POINTSIZE_MIN
];
GL_EXTCALL
(
glPointParameterfEXT
)(
GL_POINT_SIZE_MIN_EXT
,
tmpvalue
.
f
);
checkGLcall
(
"glPointParameterfEXT(...);"
);
...
...
@@ -934,7 +939,12 @@ static void state_psizemax(DWORD state, IWineD3DStateBlockImpl *stateblock) {
float
f
;
}
tmpvalue
;
if
(
GL_SUPPORT
(
EXT_POINT_PARAMETERS
))
{
if
(
GL_SUPPORT
(
ARB_POINT_PARAMETERS
))
{
tmpvalue
.
d
=
stateblock
->
renderState
[
WINED3DRS_POINTSIZE_MAX
];
GL_EXTCALL
(
glPointParameterfARB
)(
GL_POINT_SIZE_MAX_ARB
,
tmpvalue
.
f
);
checkGLcall
(
"glPointParameterfARB(..."
);
}
else
if
(
GL_SUPPORT
(
EXT_POINT_PARAMETERS
))
{
tmpvalue
.
d
=
stateblock
->
renderState
[
WINED3DRS_POINTSIZE_MAX
];
GL_EXTCALL
(
glPointParameterfEXT
)(
GL_POINT_SIZE_MAX_EXT
,
tmpvalue
.
f
);
checkGLcall
(
"glPointParameterfEXT(...);"
);
...
...
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