Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::string vertex_shader_string = read_from_file(vertex_shader_path);
- std::string fragment_shader_string = read_from_file(fragment_shader_path);
- const char* vertex_shader_code = vertex_shader_string.c_str();
- const char* fragment_shader_code = fragment_shader_string.c_str();
- std::cout << vertex_shader_code << std::endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement