From c7295da5eb75529cfe8754772759e43ef210c136 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 27 Jun 2001 02:48:01 +0000 Subject: [PATCH] Fixed a type conversion bug that could trip up some of the pickier compilers out there. --- simgear/screen/tr.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/simgear/screen/tr.cxx b/simgear/screen/tr.cxx index 6a8169c1..c9837771 100644 --- a/simgear/screen/tr.cxx +++ b/simgear/screen/tr.cxx @@ -2,6 +2,10 @@ /* * $Log$ + * Revision 1.2 2001/06/27 02:48:01 curt + * Fixed a type conversion bug that could trip up some of the pickier compilers + * out there. + * * Revision 1.1 2001/06/26 15:19:39 curt * Added tr.cxx / tr.h, Brian Paul's LGPL'd tiled rendering support libs for * rendering ultra high res "tiled" screen shots. @@ -377,7 +381,7 @@ void trBeginTile(TRcontext *tr) ssgSetFrustum ( left, right, bottom, top, tr->Near, tr->Far ); /* restore user's matrix mode */ - glMatrixMode(matrixMode); + glMatrixMode( (GLenum)matrixMode ); } -- 2.39.5