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.39 by root, Tue Apr 18 01:36:12 2006 UTC vs.
Revision 1.40 by root, Tue Apr 18 01:51:06 2006 UTC

264 } 264 }
265 } 265 }
266 266
267 $self->{s} = $self->{w} / $tw; 267 $self->{s} = $self->{w} / $tw;
268 $self->{t} = $self->{h} / $th; 268 $self->{t} = $self->{h} / $th;
269
270 glGetError;
269 271
270 $self->{name} ||= (glGenTextures 1)->[0]; 272 $self->{name} ||= (glGenTextures 1)->[0];
271 273
272 glBindTexture GL_TEXTURE_2D, $self->{name}; 274 glBindTexture GL_TEXTURE_2D, $self->{name};
273 275

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines