gg: remove 2 prints

pull/3423/head
Alexander Medvednikov 2020-01-12 19:54:40 +01:00
parent 2678f9289e
commit e159347c10
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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
} }