Skip to content

Commit

Permalink
fix: types setblendfunc (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
pschroen authored Oct 14, 2024
1 parent e5305e1 commit f629c90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/core/Program.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class Program {

setShaders(options: { vertex: string; fragment: string }): void;

setBlendFunc(src: GLenum, dst: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
setBlendFunc(src: GLenum, dst: GLenum, srcAlpha?: GLenum, dstAlpha?: GLenum): void;

setBlendEquation(modeRGB: GLenum, modeAlpha: GLenum): void;

Expand Down
2 changes: 1 addition & 1 deletion types/core/Renderer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class Renderer {

disable(id: GLenum): void;

setBlendFunc(src: GLenum, dst: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;
setBlendFunc(src: GLenum, dst: GLenum, srcAlpha?: GLenum, dstAlpha?: GLenum): void;

setBlendEquation(modeRGB: GLenum, modeAlpha: GLenum): void;

Expand Down

0 comments on commit f629c90

Please sign in to comment.