diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-10-06 15:33:54 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-10-06 15:33:54 +0000 |
commit | 29d686a3c6474c3ef17169319a169fd741fb66fb (patch) | |
tree | 9dfb0aac7b5f857890f7117f8bea0880de73787e /code/renderer | |
parent | 9a1c87ca60539715c1f8fc7e8d00f629eb44b642 (diff) | |
download | ioquake3-aero-29d686a3c6474c3ef17169319a169fd741fb66fb.tar.gz ioquake3-aero-29d686a3c6474c3ef17169319a169fd741fb66fb.zip |
* ATI skybox bug fix
git-svn-id: svn://svn.icculus.org/quake3/trunk@146 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer')
-rw-r--r-- | code/renderer/tr_shader.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/code/renderer/tr_shader.c b/code/renderer/tr_shader.c index 3de2bba..f628b67 100644 --- a/code/renderer/tr_shader.c +++ b/code/renderer/tr_shader.c @@ -1230,7 +1230,11 @@ static void ParseSkyParms( char **text ) { for (i=0 ; i<6 ; i++) { Com_sprintf( pathname, sizeof(pathname), "%s_%s.tga" , token, suf[i] ); +#ifdef GL_CLAMP_TO_EDGE + shader.sky.outerbox[i] = R_FindImageFile( ( char * ) pathname, qtrue, qtrue, GL_CLAMP_TO_EDGE ); +#else shader.sky.outerbox[i] = R_FindImageFile( ( char * ) pathname, qtrue, qtrue, GL_CLAMP ); +#endif if ( !shader.sky.outerbox[i] ) { shader.sky.outerbox[i] = tr.defaultImage; } |