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.17 by root, Sun Apr 9 21:50:21 2006 UTC vs.
Revision 1.18 by root, Mon Apr 10 11:55:16 2006 UTC

148 $data = $self->{data}; 148 $data = $self->{data};
149 } elsif (exists $self->{rendercb}) { 149 } elsif (exists $self->{rendercb}) {
150 glViewport 0, 0, $self->{width}, $self->{height}; 150 glViewport 0, 0, $self->{width}, $self->{height};
151 glMatrixMode GL_PROJECTION; 151 glMatrixMode GL_PROJECTION;
152 glLoadIdentity; 152 glLoadIdentity;
153 glOrtho 0, $self->{width}, 0, $self->{height}, -100, 100; 153 glOrtho 0, $self->{width}, 0, $self->{height}, -10000, 10000;
154 glMatrixMode GL_MODELVIEW; 154 glMatrixMode GL_MODELVIEW;
155 glPushmatrix; 155 glPushmatrix;
156 glLoadIdentity; 156 glLoadIdentity;
157 glClear GL_COLOR_BUFFER_BIT; 157 glClear GL_COLOR_BUFFER_BIT;
158 158

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines