X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbctexture.h;h=b91f8d3ad3ded9c70c9d9ce804be5783d004ce78;hp=1ac9f0840e0c420f3e99fb2fbc74a51a02c59cc8;hb=3305343c3d9bfb889f6892e7821cc0e2d68669de;hpb=7ead9f7382846e81c2f8efb25780014e5f8834c3 diff --git a/cinelerra-5.1/guicast/bctexture.h b/cinelerra-5.1/guicast/bctexture.h index 1ac9f084..b91f8d3a 100644 --- a/cinelerra-5.1/guicast/bctexture.h +++ b/cinelerra-5.1/guicast/bctexture.h @@ -53,7 +53,7 @@ public: // and the commands are run in the right sequence to // initialize it to our preferred specifications. // The texture unit initialization requires the texture to be bound. - void bind(int texture_unit = -1); + void bind(int texture_unit, int nearest=0); // Calculate the power of 2 size for allocating textures static int calculate_texture_size(int w, int *max = 0);