Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32061 Details for
Bug 47048
ftgl-2.1.2 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ftgl-glyphs.patch
ftgl-glyphs.patch (text/plain), 713 bytes, created by
gentoo
on 2004-05-26 03:54:27 UTC
(
hide
)
Description:
ftgl-glyphs.patch
Filename:
MIME Type:
Creator:
gentoo
Created:
2004-05-26 03:54:27 UTC
Size:
713 bytes
patch
obsolete
>diff -ru FTGL.orig/src/FTPixmapGlyph.cpp FTGL/src/FTPixmapGlyph.cpp >--- FTGL.orig/src/FTPixmapGlyph.cpp 2004-05-26 11:24:37.144480496 +0200 >+++ FTGL/src/FTPixmapGlyph.cpp 2004-05-26 11:25:15.846596880 +0200 >@@ -30,8 +30,8 @@ > > // Get the current glColor. > float ftglColour[4]; >- glGetFloatv( GL_CURRENT_COLOR, ftglColour); >- >+ ftglColour[0] = ftglColour[1] = ftglColour[2] = ftglColour[3] = 1.0; >+ > unsigned char redComponent = static_cast<unsigned char>( ftglColour[0] * 255.0f); > unsigned char greenComponent = static_cast<unsigned char>( ftglColour[1] * 255.0f); > unsigned char blueComponent = static_cast<unsigned char>( ftglColour[2] * 255.0f);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 47048
:
28822
|
32059
| 32061 |
35475
|
39155
|
39156
|
45994