1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-26 21:17:40 +00:00
freebsd-ports/games/fgfs-base/files/patch-aa
Chris Piazza a12cebc971 FlightGear, a free, multi-platform civil aviation flight simulator.
A 3d accelerator card supported by Mesa is highly recommended (3dfx
voodoo/voodo2 / nvidia riva tnt are known to work.)

PR:		12483
Submitted by:	Brian Buchanan <brian@CSUA.Berkeley.EDU>
1999-07-03 06:36:37 +00:00

13 lines
532 B
Plaintext

--- Simulator/Main/splash.cxx.orig Wed May 12 19:16:17 1999
+++ Simulator/Main/splash.cxx Sat Jun 26 22:31:54 1999
@@ -123,7 +123,8 @@
xglMatrixMode(GL_PROJECTION);
xglPushMatrix();
xglLoadIdentity();
- gluOrtho2D(0, current_view.get_winWidth(), 0, current_view.get_winHeight());
+ if (current_view.get_winWidth() && current_view.get_winHeight())
+ gluOrtho2D(0, current_view.get_winWidth(), 0, current_view.get_winHeight());
xglMatrixMode(GL_MODELVIEW);
xglPushMatrix();
xglLoadIdentity();