diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-06-03 12:01:07 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-06-03 12:01:07 +0000 |
commit | 474bf8927023cf9b345138f853c3b7b702b86c3a (patch) | |
tree | 94c0552ddff63ab6b9e647994a484b90e76a1a68 /games-sports/foobillard/files | |
parent | Initial import. Fixes #50005. (diff) | |
download | historical-474bf8927023cf9b345138f853c3b7b702b86c3a.tar.gz historical-474bf8927023cf9b345138f853c3b7b702b86c3a.tar.bz2 historical-474bf8927023cf9b345138f853c3b7b702b86c3a.zip |
Added to patch to fix compile on non-nvidia hardware and closing bug #52600.
Diffstat (limited to 'games-sports/foobillard/files')
-rw-r--r-- | games-sports/foobillard/files/foobillard-3.0a-no_nvidia.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/games-sports/foobillard/files/foobillard-3.0a-no_nvidia.patch b/games-sports/foobillard/files/foobillard-3.0a-no_nvidia.patch new file mode 100644 index 000000000000..b43707bc403b --- /dev/null +++ b/games-sports/foobillard/files/foobillard-3.0a-no_nvidia.patch @@ -0,0 +1,18 @@ +--- src/ball.c.orig 2004-06-02 07:00:57.000000000 -0400 ++++ src/ball.c 2004-06-02 07:03:52.000000000 -0400 +@@ -1821,6 +1821,7 @@ + } else if( options_cuberef && cuberef_binds!=0 ){ + glBindTexture(GL_TEXTURE_CUBE_MAP_ARB, cuberef_binds[i]); + #ifdef GL_VERTEX_PROGRAM_NV ++#ifdef USE_BALL_FRESNEL + { + myvec cam_pos2; + // cam_pos2=vec_scale(vec_unit(vec_diff(cam_pos,balls.ball[i].r)),BALL_D/2.5); +@@ -1829,6 +1830,7 @@ + BALL_D/2.0,BALL_D/2.5,0,0 ); + } + #endif ++#endif + draw_ball(&balls.ball[i],cam_pos,cam_FOV,win_width,0); + }else{ + draw_ball(&balls.ball[i],cam_pos,cam_FOV,win_width,0); |