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

Comparing deliantra/Deliantra-Client/DC.pm (file contents):
Revision 1.49 by root, Sun Apr 30 08:09:44 2006 UTC vs.
Revision 1.50 by root, Thu May 11 23:41:45 2006 UTC

201#} 201#}
202 202
203sub new_from_layout { 203sub new_from_layout {
204 my ($class, $layout, %arg) = @_; 204 my ($class, $layout, %arg) = @_;
205 205
206 my ($w, $h, $data) = $layout->render; 206 my ($w, $h, $data, $format, $internalformat) = $layout->render;
207 207
208 $class->new ( 208 $class->new (
209 w => $w, 209 w => $w,
210 h => $h, 210 h => $h,
211 data => $data, 211 data => $data,
212 format => GL_ALPHA, 212 format => $format,
213 internalformat => GL_ALPHA, 213 internalformat => $format,
214 type => GL_UNSIGNED_BYTE, 214 type => GL_UNSIGNED_BYTE,
215 %arg, 215 %arg,
216 ) 216 )
217} 217}
218 218

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines