mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
internal/graphicsdriver: fix comments
This commit is contained in:
parent
7961654927
commit
9a75e266d4
@ -577,7 +577,7 @@ func (g *Graphics) DrawTriangles(dstID graphicsdriver.ImageID, srcIDs [graphics.
|
|||||||
t := g.shaders[shaderID].ir.Uniforms[i]
|
t := g.shaders[shaderID].ir.Uniforms[i]
|
||||||
switch t.Main {
|
switch t.Main {
|
||||||
case shaderir.Vec3:
|
case shaderir.Vec3:
|
||||||
// float3x3 requires 16-byte alignment (#2463).
|
// float3 requires 16-byte alignment (#2463).
|
||||||
v1 := make([]uint32, 4)
|
v1 := make([]uint32, 4)
|
||||||
copy(v1[0:3], v[0:3])
|
copy(v1[0:3], v[0:3])
|
||||||
uniformVars[i] = v1
|
uniformVars[i] = v1
|
||||||
|
Loading…
Reference in New Issue
Block a user