From a154190c6672544bc623b003a76833baeeb0b088 Mon Sep 17 00:00:00 2001 From: molivier Date: Fri, 25 Jan 2002 12:33:35 +0000 Subject: [PATCH] Updated MSVC6 project files. Vanilla MSVC6 doesn't know the GL_TABLE_TOO_LARGE error... Strange. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1394 d7cf8633-e32d-0410-b094-e92efae38249 --- darkplaces.dsp | 16 ++++++++-------- gl_backend.c | 4 +++- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/darkplaces.dsp b/darkplaces.dsp index 0f6134aa..94c790d3 100644 --- a/darkplaces.dsp +++ b/darkplaces.dsp @@ -132,6 +132,10 @@ SOURCE=.\cl_particles.c # End Source File # Begin Source File +SOURCE=.\cl_screen.c +# End Source File +# Begin Source File + SOURCE=.\cl_tent.c # End Source File # Begin Source File @@ -424,6 +428,10 @@ SOURCE=.\cl_light.h # End Source File # Begin Source File +SOURCE=.\cl_screen.h +# End Source File +# Begin Source File + SOURCE=.\client.h # End Source File # Begin Source File @@ -524,10 +532,6 @@ SOURCE=.\net_loop.h # End Source File # Begin Source File -SOURCE=.\net_udp.h -# End Source File -# Begin Source File - SOURCE=.\net_wins.h # End Source File # Begin Source File @@ -636,10 +640,6 @@ SOURCE=.\vid.h # End Source File # Begin Source File -SOURCE=.\view.h -# End Source File -# Begin Source File - SOURCE=.\wad.h # End Source File # Begin Source File diff --git a/gl_backend.c b/gl_backend.c index c41dd1eb..aff67a44 100644 --- a/gl_backend.c +++ b/gl_backend.c @@ -272,9 +272,11 @@ void GL_PrintError(int errornumber, char *filename, int linenumber) case GL_OUT_OF_MEMORY: Con_Printf("GL_OUT_OF_MEMORY at %s:%i\n", filename, linenumber); break; - case GL_TABLE_TOO_LARGE: +#ifdef GL_TABLE_TOO_LARGE + case GL_TABLE_TOO_LARGE: Con_Printf("GL_TABLE_TOO_LARGE at %s:%i\n", filename, linenumber); break; +#endif default: Con_Printf("GL UNKNOWN (%i) at %s:%i\n", errornumber, filename, linenumber); break; -- 2.39.2