opengl upgrade to 4.3 for masks, mask function/layout rework, make_shader rework
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / bcwindow3d.C
index 57118e7421bba74dedbb056bc039ef5e850155d8..902f65e9b17263b95f4f3ca87f7dc800724700d9 100644 (file)
@@ -237,14 +237,14 @@ void BC_WindowBase::flip_opengl()
 #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, char *source)
+void BC_WindowBase::put_shader(unsigned int handle, const 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()