phase(N.5) Task 2 fixup: name TexImage3D depth + border arguments
Code quality review caught that the TexImage3D call dropped the depth: and border: named arguments specified in the plan. The bare positional `1, 0` is hard to disambiguate from the surrounding 10 parameters. Adds them back, no runtime change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f48a6cf65c
commit
0b73875d39
1 changed files with 2 additions and 2 deletions
|
|
@ -296,8 +296,8 @@ public sealed unsafe class TextureCache : Wb.ITextureCachePerInstance, IDisposab
|
||||||
InternalFormat.Rgba8,
|
InternalFormat.Rgba8,
|
||||||
(uint)decoded.Width,
|
(uint)decoded.Width,
|
||||||
(uint)decoded.Height,
|
(uint)decoded.Height,
|
||||||
1,
|
depth: 1,
|
||||||
0,
|
border: 0,
|
||||||
PixelFormat.Rgba,
|
PixelFormat.Rgba,
|
||||||
PixelType.UnsignedByte,
|
PixelType.UnsignedByte,
|
||||||
p);
|
p);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue