Преглед изворни кода

Merge pull request #197 from DamianImrich/pr2

Fixed WASM build error: texture2D.go:356:6: gs.CompressedTexImage2D undefined
Daniel Salvadori пре 5 година
родитељ
комит
f135552851
1 измењених фајлова са 6 додато и 0 уклоњено
  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) {