mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 18:52:44 +01:00
internal/graphicsdriver/directx: increment numDescriptorsPerFrame
16 seems too conservative. Let's double it. Updates #2188
This commit is contained in:
parent
9a35366380
commit
8d74039617
@ -23,7 +23,7 @@ import (
|
|||||||
"github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver"
|
"github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver"
|
||||||
)
|
)
|
||||||
|
|
||||||
const numDescriptorsPerFrame = 16
|
const numDescriptorsPerFrame = 32
|
||||||
|
|
||||||
func operationToBlend(c graphicsdriver.Operation, alpha bool) _D3D12_BLEND {
|
func operationToBlend(c graphicsdriver.Operation, alpha bool) _D3D12_BLEND {
|
||||||
switch c {
|
switch c {
|
||||||
|
Loading…
Reference in New Issue
Block a user