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.31 by root, Fri Apr 14 14:55:27 2006 UTC vs.
Revision 1.32 by root, Sat Apr 15 00:04:58 2006 UTC

197 197
198 unless ($tw && $th) { 198 unless ($tw && $th) {
199 $tw = $th = 1; 199 $tw = $th = 1;
200 $data = "\x00" x 64; 200 $data = "\x00" x 64;
201 } 201 }
202
203 $self->{minified} = [CFClient::average $tw, $th, $data]
204 if defined $data;
202 205
203 unless ($GL_NPOT) { 206 unless ($GL_NPOT) {
204 # TODO: does not work for zero-sized textures 207 # TODO: does not work for zero-sized textures
205 $tw = topot $tw; 208 $tw = topot $tw;
206 $th = topot $th; 209 $th = topot $th;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines