This pull request adds a conditional to a test that requires AntTweakBar so that if you don't have this package (which isn't required) the build still completes.
Also fixes an error in texture-font.c, where the texture_font_load_glyph() function was being asked to return NULL on what I think was failure. But it needs to return an int, so I changed return NULL to return 0. Don't know enough about freetype-gl to know if this is correct, but it seems to be working for me. The other changes in texture-font.c you see here are just my editor automatically removing some trailing spaces, sorry about that.
This pull request adds a conditional to a test that requires AntTweakBar so that if you don't have this package (which isn't required) the build still completes.
Also fixes an error in texture-font.c, where the texture_font_load_glyph() function was being asked to return NULL on what I think was failure. But it needs to return an int, so I changed return NULL to return 0. Don't know enough about freetype-gl to know if this is correct, but it seems to be working for me. The other changes in texture-font.c you see here are just my editor automatically removing some trailing spaces, sorry about that.