(path string)
| 122 | } |
| 123 | |
| 124 | func hashFile(path string) (string, error) { |
| 125 | data, err := ioutil.ReadFile(path) |
| 126 | if err != nil { |
| 127 | return "", err |
| 128 | } |
| 129 | return fmt.Sprintf("%x", md5.Sum(data)), nil |
| 130 | } |
| 131 | |
| 132 | func createTexture() uint32 { |
| 133 | var texture uint32 |
no outgoing calls
no test coverage detected