X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbctexture.C;h=7cebeefc2f3d9b2b3dadf5c1034c2320702e41ad;hb=3ceaf97d3b161445161eb5d48f3e8d5e9c34e3f8;hp=59e21810d50ba64ffd07c23ebb4ca240592b4d11;hpb=568bf4145a8bc66472ea3625741dacbd3b56ccc0;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bctexture.C b/cinelerra-5.1/guicast/bctexture.C index 59e21810..7cebeefc 100644 --- a/cinelerra-5.1/guicast/bctexture.C +++ b/cinelerra-5.1/guicast/bctexture.C @@ -216,8 +216,8 @@ void BC_Texture::bind(int texture_unit) // GL_REPEAT in this case causes the upper left corners of the masks // to blur. - 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); // Get the texture to alpha blend glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);