internal/graphicsdriver/directx: refactoring: remove graphic12.transparent

This commit is contained in:
Hajime Hoshi 2023-03-29 15:56:33 +09:00
parent 78d76945ad
commit 129956d8f0

View File

@ -95,7 +95,6 @@ type graphics12 struct {
disposedShaders [frameCount][]*shader12 disposedShaders [frameCount][]*shader12
vsyncEnabled bool vsyncEnabled bool
transparent bool
newScreenWidth int newScreenWidth int
newScreenHeight int newScreenHeight int
@ -860,7 +859,7 @@ func (g *graphics12) waitForCommandQueue() error {
} }
func (g *graphics12) SetTransparent(transparent bool) { func (g *graphics12) SetTransparent(transparent bool) {
g.transparent = transparent // TODO: Implement this?
} }
func (g *graphics12) SetVertices(vertices []float32, indices []uint16) (ferr error) { func (g *graphics12) SetVertices(vertices []float32, indices []uint16) (ferr error) {