X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fvframe.h;h=af8040a52701d29dc3b991cd2a04b59a1c402365;hb=a9a62511f2f31cf17307d877ec4e345bf0925aee;hp=4b7d51a3052fa827201ced7ac2e0332553e53e1c;hpb=e41864cf7931bfb86f68c5d35d4578dfe161d386;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/guicast/vframe.h b/cinelerra-5.1/guicast/vframe.h index 4b7d51a3..af8040a5 100644 --- a/cinelerra-5.1/guicast/vframe.h +++ b/cinelerra-5.1/guicast/vframe.h @@ -283,12 +283,7 @@ public: BC_PBuffer* get_pbuffer(); // Bind the frame's texture to GL_TEXTURE_2D and enable it. -// If a texture_unit is supplied, the texture unit is made active -// and the commands are run in the right sequence to -// initialize it to our preferred specifications. - void bind_texture(int texture_unit = -1); - - + void bind_texture(int texture_unit, int nearest=0); // Create a frustum with 0,0 in the upper left and w,-h in the bottom right. // Set preferred opengl settings.