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