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

Comparing deliantra/Deliantra-Client/bin/pclient (file contents):
Revision 1.103 by elmex, Fri Apr 14 14:02:52 2006 UTC vs.
Revision 1.104 by root, Fri Apr 14 14:55:28 2006 UTC

336 336
337 $want_refresh = 0; 337 $want_refresh = 0;
338 $can_refresh = 0; 338 $can_refresh = 0;
339 339
340 glViewport 0, 0, $WIDTH, $HEIGHT; 340 glViewport 0, 0, $WIDTH, $HEIGHT;
341 glClearColor +($CFG->{fow_intensity}) x 3, 1;
342 glClear GL_COLOR_BUFFER_BIT;
341 343
342 glMatrixMode GL_PROJECTION; 344 glMatrixMode GL_PROJECTION;
343 glLoadIdentity; 345 glLoadIdentity;
344 glOrtho 0, $WIDTH, $HEIGHT, 0, -10000 , 10000; 346 glOrtho 0, $WIDTH, $HEIGHT, 0, -10000 , 10000;
345 glMatrixMode GL_MODELVIEW; 347 glMatrixMode GL_MODELVIEW;
346 glLoadIdentity; 348 glLoadIdentity;
347
348 glClearColor +($CFG->{fow_intensity}) x 3, 1;
349 glClear GL_COLOR_BUFFER_BIT;
350 349
351 $CFClient::UI::TOPLEVEL->draw; 350 $CFClient::UI::TOPLEVEL->draw;
352 351
353 SDL::GLSwapBuffers; 352 SDL::GLSwapBuffers;
354 353

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines