Skip to content

Commit

Permalink
[Meta] trim EOL whitespace (JACoders#1202)
Browse files Browse the repository at this point in the history
* trim EOL whitespace

* draw the rest of the owl

* fix encoding issue with JK2 cg_effects.cpp

(cherry picked from commit 4547d40)
  • Loading branch information
Razish authored and taysta committed Feb 23, 2024
1 parent ea70ec1 commit 72f6e90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion shared/rd-rend2/tr_ghoul2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4294,7 +4294,7 @@ qboolean R_LoadMDXM(model_t *mod, void *buffer, const char *mod_name, qboolean &
// LL(surf->maxVertBoneWeights);

//triCount += surf->numTriangles;

if ( surf->numVerts > SHADER_MAX_VERTEXES ) {
Com_Error(
ERR_DROP,
Expand Down
2 changes: 1 addition & 1 deletion shared/rd-rend2/tr_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ Sets the z-component transformation part in the projection matrix
void R_SetupProjectionZ(viewParms_t *dest)
{
float zNear, zFar, depth;

zNear = dest->zNear * tr.widthRatioCoef;
zFar = dest->zFar;

Expand Down
2 changes: 1 addition & 1 deletion shared/rd-rend2/tr_mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ int R_ComputeLOD( trRefEntity_t *ent ) {
}
if ( !( ent->e.renderfx & RF_NOLOD ) )
lod += r_lodbias->integer;

if ( lod >= tr.currentModel->numLods )
lod = tr.currentModel->numLods - 1;
if ( lod < 0 )
Expand Down

0 comments on commit 72f6e90

Please sign in to comment.