Skip to content

Commit 3cc81fb

Browse files
authored
Merge pull request nuberu#1 from atercattus/master
Fix wrong param type in RenderingContext.DeleteTexture()
2 parents 976311c + 47bb5dd commit 3cc81fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rendering_context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ func (c *RenderingContext) DeleteShader(shader *types.Shader) {
323323
c.js.Call("deleteShader", shader.GetJs())
324324
}
325325

326-
func (c *RenderingContext) DeleteTexture(texture *types.Shader) {
326+
func (c *RenderingContext) DeleteTexture(texture *types.Texture) {
327327
c.js.Call("deleteTexture", texture.GetJs())
328328
}
329329

0 commit comments

Comments
 (0)