remove gl crap
This commit is contained in:
parent
73bbf9b01a
commit
7cf75e4630
14
main.go
14
main.go
@ -104,8 +104,8 @@ func run() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sv service) Init(int num) {
|
func (sv service) Init(uint num) {
|
||||||
if num <= 0 {
|
if num == 0 {
|
||||||
num = 1
|
num = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -231,16 +231,6 @@ func (cl *Cell) Select() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*func (cl *Cell) Texture() glbase.Texture {
|
|
||||||
fmt.Println("index: ", cl.index, " ", cl.img.tex)
|
|
||||||
fmt.Println("error tex:", gl.GetError())
|
|
||||||
if cl.img.tex == 0 {
|
|
||||||
cl.img.tex = newTexture(*cl.getImage(monWidth, monHeight))
|
|
||||||
fmt.Println("new texture", cl.img.tex)
|
|
||||||
}
|
|
||||||
return cl.img.tex
|
|
||||||
}*/
|
|
||||||
|
|
||||||
//not really needed
|
//not really needed
|
||||||
func (cl Cell) String() string {
|
func (cl Cell) String() string {
|
||||||
return fmt.Sprintf("Index: %d \nText: %s\n", cl.index, cl.text)
|
return fmt.Sprintf("Index: %d \nText: %s\n", cl.index, cl.text)
|
||||||
|
2
qrc.go
2
qrc.go
@ -13,7 +13,7 @@ import (
|
|||||||
func init() {
|
func init() {
|
||||||
var r *qml.Resources
|
var r *qml.Resources
|
||||||
var err error
|
var err error
|
||||||
if true/*os.Getenv("QRC_REPACK") == "1"*/ {
|
if true /*os.Getenv("QRC_REPACK") == "1"*/ {
|
||||||
err = qrcRepackResources()
|
err = qrcRepackResources()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic("cannot repack qrc resources: " + err.Error())
|
panic("cannot repack qrc resources: " + err.Error())
|
||||||
|
Loading…
Reference in New Issue
Block a user