diff options
author | Carsten Weisse <[email protected]> | 2004-07-16 10:11:36 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2004-07-16 10:11:36 +0000 |
commit | c19debe92ce0eb509cd5c3596b7f858e40424451 (patch) | |
tree | e6469e0d0399cdd40af3f2aaec8e66afdda6a0ad /src/jake2/render/jogl/Surf.java | |
parent | 6797f747378633e79ad4510d7f9449dc6bf3defd (diff) |
refimport_t deleted
Diffstat (limited to 'src/jake2/render/jogl/Surf.java')
-rw-r--r-- | src/jake2/render/jogl/Surf.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/jake2/render/jogl/Surf.java b/src/jake2/render/jogl/Surf.java index e4d0101..f4eb76b 100644 --- a/src/jake2/render/jogl/Surf.java +++ b/src/jake2/render/jogl/Surf.java @@ -2,7 +2,7 @@ * Surf.java * Copyright (C) 2003 * - * $Id: Surf.java,v 1.4 2004-07-12 18:19:42 hzi Exp $ + * $Id: Surf.java,v 1.5 2004-07-16 10:11:35 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -28,6 +28,7 @@ package jake2.render.jogl; import jake2.Defines; import jake2.client.*; import jake2.game.cplane_t; +import jake2.qcommon.Com; import jake2.render.*; import jake2.util.Lib; import jake2.util.Math3D; @@ -424,7 +425,7 @@ public abstract class Surf extends Draw { // try uploading the block now if ( !LM_AllocBlock( smax, tmax, lightPos) ) { - ri.Sys_Error( Defines.ERR_FATAL, "Consecutive calls to LM_AllocBlock(" + smax + "," + tmax + ") failed (dynamic)\n"); + Com.Error( Defines.ERR_FATAL, "Consecutive calls to LM_AllocBlock(" + smax + "," + tmax + ") failed (dynamic)\n"); } // kopiere die koordinaten zurueck @@ -1405,7 +1406,7 @@ public abstract class Surf extends Draw { GL.GL_UNSIGNED_BYTE, gl_lms.lightmap_buffer ); if ( ++gl_lms.current_lightmap_texture == MAX_LIGHTMAPS ) - ri.Sys_Error( Defines.ERR_DROP, "LM_UploadBlock() - MAX_LIGHTMAPS exceeded\n" ); + Com.Error( Defines.ERR_DROP, "LM_UploadBlock() - MAX_LIGHTMAPS exceeded\n" ); //debugLightmap(gl_lms.lightmap_buffer, 128, 128, 4); @@ -1556,7 +1557,7 @@ public abstract class Surf extends Draw { lightPos = new pos_t(surf.light_s, surf.light_t); if ( !LM_AllocBlock( smax, tmax, lightPos ) ) { - ri.Sys_Error( Defines.ERR_FATAL, "Consecutive calls to LM_AllocBlock(" + smax +"," + tmax +") failed\n"); + Com.Error( Defines.ERR_FATAL, "Consecutive calls to LM_AllocBlock(" + smax +"," + tmax +") failed\n"); } } |