D bindings: Fix a casing error (#3350)

* Fix error in dynamic version of D bindings

Dazed and confused but trying to continue

* Fix dispatch_indirect still using uint16_t in bgfx.idl

* D bindings: Mark enum conv. functions `nothrow @nogc pure @safe`

* D bindings: Fix a casing error
This commit is contained in:
IchorDev 2024-09-04 23:01:09 +07:00 committed by GitHub
parent eaec8ddf3b
commit f29c1b7cde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -163,12 +163,12 @@ enum StencilFuncRef: StencilFuncRef_{
StencilFuncRef_ toStencilFuncRef(uint v) nothrow @nogc pure @safe{ return (v << StencilFuncRef.shift) & StencilFuncRef.mask; }
///Set stencil rmask value.
alias StencilFuncRmask_ = uint;
enum StencilFuncRmask: StencilFuncRmask_{
alias StencilFuncRMask_ = uint;
enum StencilFuncRMask: StencilFuncRMask_{
shift = 8,
mask = 0x0000_FF00,
}
StencilFuncRmask_ toStencilFuncRmask(uint v) nothrow @nogc pure @safe{ return (v << StencilFuncRmask.shift) & StencilFuncRmask.mask; }
StencilFuncRMask_ toStencilFuncRMask(uint v) nothrow @nogc pure @safe{ return (v << StencilFuncRMask.shift) & StencilFuncRMask.mask; }
alias Stencil_ = uint;
enum Stencil: Stencil_{

View File

@ -136,6 +136,7 @@ local capsRepl = {
decrsat = "decrSat", incrsat = "incrSat", revsub = "revSub",
linestrip = "lineStrip", tristrip = "triStrip",
bstencil = "bStencil", fstencil = "fStencil",
Rmask = "RMask",
}
local function abbrevsToUpper(name)