X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fvframe.h;h=af8040a52701d29dc3b991cd2a04b59a1c402365;hp=4b7d51a3052fa827201ced7ac2e0332553e53e1c;hb=3305343c3d9bfb889f6892e7821cc0e2d68669de;hpb=853b81c6d430bd41037984ecc95fd304fd98964e 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.