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
3489f1b9
Commit
3489f1b9
authored
Jun 27, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Jun 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove some redundant code.
parent
f460b386
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
device.c
dlls/wined3d/device.c
+3
-8
No files found.
dlls/wined3d/device.c
View file @
3489f1b9
...
@@ -1582,16 +1582,11 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateAdditionalSwapChain(IWineD3DDevic
...
@@ -1582,16 +1582,11 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateAdditionalSwapChain(IWineD3DDevic
XFree
(
object
->
visInfo
);
XFree
(
object
->
visInfo
);
object
->
visInfo
=
NULL
;
object
->
visInfo
=
NULL
;
if
(
NULL
==
object
->
glCtx
)
{
ERR
(
"cannot create glxContext
\n
"
);
LEAVE_GL
();
LEAVE_GL
();
return
WINED3DERR_NOTAVAILABLE
;
}
LEAVE_GL
();
if
(
!
object
->
glCtx
)
{
if
(
object
->
glCtx
==
NULL
)
{
ERR
(
"Failed to create GLX context
\n
"
);
ERR
(
"Error in context creation !
\n
"
);
return
WINED3DERR_NOTAVAILABLE
;
return
WINED3DERR_INVALIDCALL
;
}
else
{
}
else
{
TRACE
(
"Context created (HWND=%p, glContext=%p, Window=%ld, VisInfo=%p)
\n
"
,
TRACE
(
"Context created (HWND=%p, glContext=%p, Window=%ld, VisInfo=%p)
\n
"
,
object
->
win_handle
,
object
->
glCtx
,
object
->
win
,
object
->
visInfo
);
object
->
win_handle
,
object
->
glCtx
,
object
->
win
,
object
->
visInfo
);
...
...
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