You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-sports/foobillard/files/foobillard-3.0a-gl-clamp.patch

15 lines
841 B

diff -ur foobillard-3.0a/src/table.c foobillard-3.0a-glclamp/src/table.c
--- foobillard-3.0a/src/table.c 2004-01-11 21:53:02.000000000 +0000
+++ foobillard-3.0a-glclamp/src/table.c 2011-02-21 09:14:36.000000000 +0000
@@ -1214,8 +1214,8 @@
GL_UNSIGNED_BYTE, tabletexdata);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, options_tex_min_filter);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, options_tex_mag_filter);
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
free( tabletexdata );
} else {
tabletexbind=0;