Skip to content

Commit 28bde15

Browse files
crschnickMartin Fox
authored andcommitted
8154847: Rendering is incorrect or not visible with StageStyle.UNIFIED on some graphics cards
Co-authored-by: Martin Fox <mfox@openjdk.org> Reviewed-by: lkostyra, kcr
1 parent 3ae6bc0 commit 28bde15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/javafx.graphics/src/main/native-prism-d3d/D3DResourceManager.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ D3DResourceManager::CreateSwapChain(HWND hWnd, UINT numBuffers,
557557
newParams.Windowed = TRUE;
558558
newParams.BackBufferCount = numBuffers;
559559
newParams.SwapEffect = swapEffect;
560+
newParams.BackBufferFormat = D3DFMT_A8R8G8B8;
560561
newParams.PresentationInterval = presentationInterval;
561562

562563
IDirect3DSwapChain9 *pSwapChain = NULL;

0 commit comments

Comments
 (0)