mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
all: fix TODO comments
This commit is contained in:
parent
b13fa2817c
commit
963eb2756a
@ -117,7 +117,7 @@ func _CFRunLoopRunInMode(mode _CFRunLoopMode, seconds _CFTimeInterval, returnAft
|
|||||||
if seconds != 0 {
|
if seconds != 0 {
|
||||||
panic("corefoundation: seconds greater than 0 is not supported")
|
panic("corefoundation: seconds greater than 0 is not supported")
|
||||||
}
|
}
|
||||||
//TODO: support floats
|
// TODO: support floats
|
||||||
ret, _, _ := purego.SyscallN(procCFRunLoopRunInMode, uintptr(mode), b)
|
ret, _, _ := purego.SyscallN(procCFRunLoopRunInMode, uintptr(mode), b)
|
||||||
return _CFRunLoopRunResult(ret)
|
return _CFRunLoopRunResult(ret)
|
||||||
}
|
}
|
||||||
|
@ -682,7 +682,7 @@ func (d Device) MakeDepthStencilState(dsd DepthStencilDescriptor) DepthStencilSt
|
|||||||
backFaceStencil.Send(sel_setStencilFailureOperation, uintptr(dsd.BackFaceStencil.StencilFailureOperation))
|
backFaceStencil.Send(sel_setStencilFailureOperation, uintptr(dsd.BackFaceStencil.StencilFailureOperation))
|
||||||
backFaceStencil.Send(sel_setDepthFailureOperation, uintptr(dsd.BackFaceStencil.DepthFailureOperation))
|
backFaceStencil.Send(sel_setDepthFailureOperation, uintptr(dsd.BackFaceStencil.DepthFailureOperation))
|
||||||
backFaceStencil.Send(sel_setDepthStencilPassOperation, uintptr(dsd.BackFaceStencil.DepthStencilPassOperation))
|
backFaceStencil.Send(sel_setDepthStencilPassOperation, uintptr(dsd.BackFaceStencil.DepthStencilPassOperation))
|
||||||
backFaceStencil.Send(sel_setStencilCompareFunction, uintptr(dsd.BackFaceStencil.StencilCompareFunction)) //TODO
|
backFaceStencil.Send(sel_setStencilCompareFunction, uintptr(dsd.BackFaceStencil.StencilCompareFunction)) // TODO
|
||||||
frontFaceStencil := depthStencilDescriptor.Send(sel_frontFaceStencil)
|
frontFaceStencil := depthStencilDescriptor.Send(sel_frontFaceStencil)
|
||||||
frontFaceStencil.Send(sel_setStencilFailureOperation, uintptr(dsd.FrontFaceStencil.StencilFailureOperation))
|
frontFaceStencil.Send(sel_setStencilFailureOperation, uintptr(dsd.FrontFaceStencil.StencilFailureOperation))
|
||||||
frontFaceStencil.Send(sel_setDepthFailureOperation, uintptr(dsd.FrontFaceStencil.DepthFailureOperation))
|
frontFaceStencil.Send(sel_setDepthFailureOperation, uintptr(dsd.FrontFaceStencil.DepthFailureOperation))
|
||||||
|
Loading…
Reference in New Issue
Block a user