Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch font texture U/V coordinates to unsigned int #3273

Merged
merged 1 commit into from
Dec 18, 2014
Merged

Switch font texture U/V coordinates to unsigned int #3273

merged 1 commit into from
Dec 18, 2014

Conversation

AMDmi3
Copy link
Contributor

@AMDmi3 AMDmi3 commented Dec 11, 2014

This fixes build with freetype 2.5.4, in which FT_Bitmap::rows,
FT_Bitmap::width types were changed from int to unsigned int. Because
of that, max(int, unsigned int) failed to compile. And since U/V
coordinates are essentially unsigned, this also improves code
consistency.

This fixes build with freetype 2.5.4, in which FT_Bitmap::rows,
FT_Bitmap::width types were changed from int to unsigned int. Because
of that, max(int, unsigned int) failed to compile. And since U/V
coordinates are essentially unsigned, this also improves code
consistency.
@impaktor impaktor added the Build label Dec 11, 2014
@walterar
Copy link
Contributor

Excellent. I just found this problem on my cross-compilation environment with the latest build MXE.
Thanks @AMDmi3 👍

@fluffyfreak
Copy link
Contributor

Hi @AMDmi3 sorry we haven't had time to look at this yet I'll try to review it in the next couple of days!

@AMDmi3
Copy link
Contributor Author

AMDmi3 commented Dec 15, 2014

No problem, thanks!

@fluffyfreak
Copy link
Contributor

This looks fine, what would you like to be known as in the AUTHORS.txt file? is AMDmi3 ok or would you prefer your name?

@AMDmi3
Copy link
Contributor Author

AMDmi3 commented Dec 18, 2014

I'm fine with either. Since most people are listed by real names, 'Dmitry Marakasov' would seem natural.

fluffyfreak added a commit that referenced this pull request Dec 18, 2014
Switch font texture U/V coordinates to unsigned int
@fluffyfreak fluffyfreak merged commit 3088f58 into pioneerspacesim:master Dec 18, 2014
@fluffyfreak
Copy link
Contributor

Merged and welcome to the AUTHORS list :)

@AMDmi3
Copy link
Contributor Author

AMDmi3 commented Dec 18, 2014

Thank you again!

@AMDmi3 AMDmi3 deleted the freetype-2.5.4 branch December 18, 2014 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants