fix examples
							parent
							
								
									87fb898864
								
							
						
					
					
						commit
						36d343e931
					
				|  | @ -60,7 +60,7 @@ struct Face { | |||
| struct Cfg { | ||||
| 	width     int | ||||
| 	height    int | ||||
| 	use_ortho int | ||||
| 	use_ortho bool  | ||||
| 	retina    bool | ||||
| 	font_size int | ||||
| } | ||||
|  | @ -90,7 +90,7 @@ pub fn new_context(cfg Cfg) *GG { | |||
| 	// # glScissor(0,0,300,300);
 | ||||
| 	shader := gl.new_shader('simple') | ||||
| 	shader.use() | ||||
| 	if cfg.use_ortho > 0 { | ||||
| 	if cfg.use_ortho {  | ||||
| 		projection := glm.ortho(0, cfg.width, cfg.height, 0) | ||||
| 		/*  | ||||
| 		// for debugging broken tetris in gg.o
 | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ fn download_cb(ptr voidptr, size, nmemb size_t, userp voidptr) int { | |||
| 	return written  | ||||
| } | ||||
| 
 | ||||
| fn download_file_with_progress(url, out string, cb, cb_finished download_finished_fn) {   | ||||
| fn download_file_with_progress(url, out string, cb, cb_finished downloadfn) {    | ||||
| 	curl := C.curl_easy_init() | ||||
| 	if isnil(curl) { | ||||
| 		return | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue