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
ecacc1eb
Commit
ecacc1eb
authored
Feb 04, 2006
by
Vitaly Budovski
Committed by
Alexandre Julliard
Feb 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Fixed POINTSPRITEENABLE.
parent
80c82f52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
device.c
dlls/d3d8/device.c
+10
-4
No files found.
dlls/d3d8/device.c
View file @
ecacc1eb
...
...
@@ -3095,12 +3095,18 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetRenderState(LPDIRECT3DDEVICE8 iface, D3
break
;
}
/*
* Point sprites are always enabled. Value controls texture coordinate
* replacement mode. Must be set true for point sprites to use
* textures.
*/
glEnable
(
GL_POINT_SPRITE_ARB
);
checkGLcall
(
"glEnable GL_POINT_SPRITE_ARB"
);
if
(
Value
)
{
glEnable
(
GL_POINT_SPRITE_ARB
);
checkGLcall
(
"glEnable GL_POINT_SPRITE_ARB"
);
glTexEnvf
(
GL_POINT_SPRITE_ARB
,
GL_COORD_REPLACE_ARB
,
TRUE
);
}
else
{
glDisable
(
GL_POINT_SPRITE_ARB
);
checkGLcall
(
"glDisable GL_POINT_SPRITE_ARB"
);
glTexEnvf
(
GL_POINT_SPRITE_ARB
,
GL_COORD_REPLACE_ARB
,
FALSE
);
}
break
;
}
...
...
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