mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
parent
92b3dab33c
commit
63a00f6171
@ -132,6 +132,7 @@ fragment float4 FragmentShader(Vertex in [[stage_in]]) {
|
|||||||
rpld.VertexFunction = vs
|
rpld.VertexFunction = vs
|
||||||
rpld.FragmentFunction = fs
|
rpld.FragmentFunction = fs
|
||||||
rpld.ColorAttachments[0].PixelFormat = mtl.PixelFormatRGBA8UNorm
|
rpld.ColorAttachments[0].PixelFormat = mtl.PixelFormatRGBA8UNorm
|
||||||
|
rpld.ColorAttachments[0].WriteMask = mtl.ColorWriteMaskAll
|
||||||
rps, err := device.MakeRenderPipelineState(rpld)
|
rps, err := device.MakeRenderPipelineState(rpld)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalln(err)
|
log.Fatalln(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user