azul3d / engine

Azul3D - A 3D game engine written in Go!
https://azul3d.org
Other
606 stars 54 forks source link

Copy & Paste errors in native/freetype/context.go #160

Closed dominikh closed 6 years ago

dominikh commented 8 years ago
/src/azul3d.org/engine/native/freetype/context.go:171:5: identical expressions on the left and right side of the '||' operator

The second if in (*Font).SetSize is comparing the same value twice, and the panic is mentioning width and height but should mention resolutions instead.