mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
added webgl GetParameter
This commit is contained in:
Vendored
+3
-1
@@ -558,7 +558,9 @@ class WebGLInterface {
|
||||
},
|
||||
|
||||
|
||||
|
||||
GetParameter: (pname) => {
|
||||
return this.ctx.getParameter(pname);
|
||||
},
|
||||
GetProgramParameter: (program, pname) => {
|
||||
return this.ctx.getProgramParameter(this.programs[program], pname)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user