X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcwindow3d.C;h=902f65e9b17263b95f4f3ca87f7dc800724700d9;hp=57118e7421bba74dedbb056bc039ef5e850155d8;hb=7ead9f7382846e81c2f8efb25780014e5f8834c3;hpb=2f5f5847bfeea491f69f5314dcbccaf6de4b22e4 diff --git a/cinelerra-5.1/guicast/bcwindow3d.C b/cinelerra-5.1/guicast/bcwindow3d.C index 57118e74..902f65e9 100644 --- a/cinelerra-5.1/guicast/bcwindow3d.C +++ b/cinelerra-5.1/guicast/bcwindow3d.C @@ -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()