projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix opengl transform translate (again), update shell btns, tweak lv2-blacklist, Makef...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
guicast
/
vframe.h
diff --git
a/cinelerra-5.1/guicast/vframe.h
b/cinelerra-5.1/guicast/vframe.h
index 4b7d51a3052fa827201ced7ac2e0332553e53e1c..af8040a52701d29dc3b991cd2a04b59a1c402365 100644
(file)
--- 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.
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.
// Create a frustum with 0,0 in the upper left and w,-h in the bottom right.
// Set preferred opengl settings.