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
369fb518
Commit
369fb518
authored
Oct 30, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 30, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Avoid LPDIRECT3DTEXTURE9.
parent
c868db76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
visual.c
dlls/d3d9/tests/visual.c
+2
-3
No files found.
dlls/d3d9/tests/visual.c
View file @
369fb518
...
...
@@ -6934,11 +6934,10 @@ static void srgbtexture_test(IDirect3DDevice9 *device)
* texture stage state to render a quad using that texture. The resulting
* color components should be 0x36 (~ 0.21), per this formula:
* linear_color = ((srgb_color + 0.055) / 1.055) ^ 2.4
* This is true where srgb_color > 0.04045.
*/
* This is true where srgb_color > 0.04045.
*/
struct
IDirect3DTexture9
*
texture
=
NULL
;
IDirect3D9
*
d3d
=
NULL
;
HRESULT
hr
;
LPDIRECT3DTEXTURE9
texture
=
NULL
;
LPDIRECT3DSURFACE9
surface
=
NULL
;
D3DLOCKED_RECT
lr
;
DWORD
color
;
...
...
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