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
63199ca0
Commit
63199ca0
authored
May 24, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fixed a couple of boolean comparisons against TRUE.
parent
d204540d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
device.c
dlls/wined3d/device.c
+3
-3
No files found.
dlls/wined3d/device.c
View file @
63199ca0
...
...
@@ -731,7 +731,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_CreateSurface(IWineD3DDevice *iface, UINT Wid
break
;
case
WINED3DPOOL_DEFAULT
:
/*TODO: Create offscreen plain can cause this check to fail..., find out if it should */
if
(
!
(
Usage
&
WINED3DUSAGE_DYNAMIC
)
&&
!
(
Usage
&
WINED3DUSAGE_RENDERTARGET
)
&&
!
(
Usage
&&
WINED3DUSAGE_DEPTHSTENCIL
)
&&
Lockable
==
TRUE
)
&&
!
(
Usage
&&
WINED3DUSAGE_DEPTHSTENCIL
)
&&
Lockable
)
FIXME
(
"Creating a surface with a POOL of DEFAULT with Locable true, that doesn't specify DYNAMIC usage.
\n
"
);
break
;
default:
...
...
@@ -4701,7 +4701,7 @@ process_vertices_strided(IWineD3DDeviceImpl *This, DWORD dwDestIndex, DWORD dwCo
* a) D3DRS_CLIPPING is enabled
* b) WINED3DVOP_CLIP is passed
*/
if
(
This
->
stateBlock
->
renderState
[
WINED3DRS_CLIPPING
]
==
TRUE
)
{
if
(
This
->
stateBlock
->
renderState
[
WINED3DRS_CLIPPING
])
{
static
BOOL
warned
=
FALSE
;
/*
* The clipping code is not quite correct. Some things need
...
...
@@ -6938,7 +6938,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_ActiveRender(IWineD3DDevice* iface,
IWineD3DSwapChain_Release
((
IWineD3DSwapChain
*
)
swapchain
);
}
else
if
(
pbuffer_support
==
TRUE
&&
cfgs
!=
NULL
/* && some test to make sure that opengl supports pbuffers */
)
{
else
if
(
pbuffer_support
&&
cfgs
!=
NULL
/* && some test to make sure that opengl supports pbuffers */
)
{
/** ********************************************************************
* This is a quickly hacked out implementation of offscreen textures.
...
...
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