gg: remove 2 prints
parent
2678f9289e
commit
e159347c10
|
@ -213,7 +213,7 @@ pub fn new_context(cfg gg.Cfg) &FreeType {
|
||||||
//ch := Character{}
|
//ch := Character{}
|
||||||
// Configure VAO
|
// Configure VAO
|
||||||
vao := gl.gen_vertex_array()
|
vao := gl.gen_vertex_array()
|
||||||
println('new gg text context vao=$vao')
|
//println('new gg text context vao=$vao')
|
||||||
vbo := gl.gen_buffer()
|
vbo := gl.gen_buffer()
|
||||||
gl.bind_vao(vao)
|
gl.bind_vao(vao)
|
||||||
gl.bind_buffer(C.GL_ARRAY_BUFFER, vbo)
|
gl.bind_buffer(C.GL_ARRAY_BUFFER, vbo)
|
||||||
|
|
|
@ -358,7 +358,7 @@ fn (c GG) text_align(a int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn create_image(file string) u32 {
|
pub fn create_image(file string) u32 {
|
||||||
println('gg create image "$file"')
|
//println('gg create image "$file"')
|
||||||
if file.contains('twitch') {
|
if file.contains('twitch') {
|
||||||
return u32(0)// TODO
|
return u32(0)// TODO
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue