ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.94 by root, Tue May 23 18:57:35 2006 UTC vs.
Revision 1.96 by root, Wed May 24 22:28:43 2006 UTC

731 731
732CFClient::Layout 732CFClient::Layout
733new (SV *class, int rgba = 0) 733new (SV *class, int rgba = 0)
734 CODE: 734 CODE:
735#if _WIN32 735#if _WIN32
736 rgba = 0;//D 736 //rgba = 0;//D make stext nicer, breaks TextView
737#endif 737#endif
738 New (0, RETVAL, 1, struct cf_layout); 738 New (0, RETVAL, 1, struct cf_layout);
739 739
740 RETVAL->pl = pango_layout_new (rgba ? cairo_context : ft2_context); 740 RETVAL->pl = pango_layout_new (rgba ? cairo_context : ft2_context);
741 RETVAL->rgba = rgba; 741 RETVAL->rgba = rgba;
1097 tex->r = r; 1097 tex->r = r;
1098 tex->g = g; 1098 tex->g = g;
1099 tex->b = b; 1099 tex->b = b;
1100 tex->a = a; 1100 tex->a = a;
1101 } 1101 }
1102
1103 // somewhat hackish, but for textures that require it, it really
1104 // improves the look, and most others don't suffer.
1105 glBindTexture (GL_TEXTURE_2D, name);
1106 glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
1107 glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
1102} 1108}
1103 1109
1104int 1110int
1105ox (CFClient::Map self) 1111ox (CFClient::Map self)
1106 ALIAS: 1112 ALIAS:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines