Beispiel #1
0
func (me *FxImageBase) gpuSync(tex ugl.Texture) (err error) {
	if err = tex.Recreate(); err == nil {
		me.glSynced = true
	}
	return
}
Beispiel #2
0
func (me *FxImageBase) gpuDelete(glTex ugl.Texture) {
	glTex.Dispose()
	me.glSynced = false
}