Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
48bb1a6a
Commit
48bb1a6a
authored
Jun 17, 2015
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Jun 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
direct3d11: keep the swapchain number and format of buffers
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
7fb0374f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/video_output/msw/direct3d11.c
modules/video_output/msw/direct3d11.c
+2
-3
No files found.
modules/video_output/msw/direct3d11.c
View file @
48bb1a6a
...
...
@@ -632,9 +632,8 @@ static HRESULT UpdateBackBuffer(vout_display_t *vd)
sys
->
d3ddepthStencilView
=
NULL
;
}
hr
=
IDXGISwapChain_ResizeBuffers
(
sys
->
dxgiswapChain
,
1
,
RECTWidth
(
sys
->
rect_dest_clipped
),
RECTHeight
(
sys
->
rect_dest_clipped
),
DXGI_FORMAT_R8G8B8A8_UNORM
,
0
);
hr
=
IDXGISwapChain_ResizeBuffers
(
sys
->
dxgiswapChain
,
0
,
i_width
,
i_height
,
DXGI_FORMAT_UNKNOWN
,
0
);
if
(
FAILED
(
hr
))
{
msg_Err
(
vd
,
"Failed to resize the backbuffer. (hr=0x%lX)"
,
hr
);
return
hr
;
...
...
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