Explorar el Código

Merge pull request #197 from DamianImrich/pr2

Fixed WASM build error: texture2D.go:356:6: gs.CompressedTexImage2D undefined
Daniel Salvadori hace 5 años
padre
commit
f135552851
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      gls/gls-browser.go

+ 6 - 0
gls/gls-browser.go

@@ -663,6 +663,12 @@ func (gs *GLS) TexImage2D(target uint32, level int32, iformat int32, width int32
 	dataTA.Release()
 }
 
+// CompressedTexImage2D specifies a two-dimensional compressed texture image.
+func (gs *GLS) CompressedTexImage2D(target uint32, level uint32, iformat uint32, width int32, height int32, size int32, data interface{}) {
+
+	// todo
+}
+
 // TexParameteri sets the specified texture parameter on the specified texture.
 func (gs *GLS) TexParameteri(target uint32, pname uint32, param int32) {