projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
opengl upgrade to 4.3 for masks, mask function/layout rework, make_shader rework
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
guicast
/
bcwindow3d.C
diff --git
a/cinelerra-5.1/guicast/bcwindow3d.C
b/cinelerra-5.1/guicast/bcwindow3d.C
index 57118e7421bba74dedbb056bc039ef5e850155d8..902f65e9b17263b95f4f3ca87f7dc800724700d9 100644
(file)
--- a/
cinelerra-5.1/guicast/bcwindow3d.C
+++ b/
cinelerra-5.1/guicast/bcwindow3d.C
@@
-237,14
+237,14
@@
void BC_WindowBase::flip_opengl()
#endif
}
#endif
}
-
unsigned int BC_WindowBase::get_shader(char *source, int *got_it
)
+
int BC_WindowBase::get_shader(unsigned int *handle, const char *vert, const char *frag
)
{
{
- return get_resources()->get_synchronous()->get_shader(
source, got_it
);
+ return get_resources()->get_synchronous()->get_shader(
handle, vert, frag
);
}
}
-void BC_WindowBase::put_shader(unsigned int handle, c
har *source
)
+void BC_WindowBase::put_shader(unsigned int handle, c
onst char *vert, const char *frag
)
{
{
- get_resources()->get_synchronous()->put_shader(handle,
source
);
+ get_resources()->get_synchronous()->put_shader(handle,
vert, frag
);
}
int BC_WindowBase::get_opengl_server_version()
}
int BC_WindowBase::get_opengl_server_version()