Пример #1
0
func (b *Bitmap) GetGLFBO() uint32 {
	var fbo uint32

	fbo = uint32(C.al_get_opengl_fbo((*C.ALLEGRO_BITMAP)(b)))

	return fbo
}
Пример #2
0
func (b *Bitmap) GetOpenglFbo() uint32 {
	return uint32(C.al_get_opengl_fbo((*C.ALLEGRO_BITMAP)(unsafe.Pointer(b))))
}