| 121 | } |
| 122 | |
| 123 | bool Buffer::buffer_update() { |
| 124 | const auto num_textures = num_textures_x * num_textures_y; |
| 125 | gl_canvas_ref().glDeleteTextures(num_textures, buff_tex.data()); |
| 126 | |
| 127 | if (!create_shader_program()) { |
| 128 | return false; |
| 129 | } |
| 130 | setup_gl_buffer(); |
| 131 | return true; |
| 132 | } |
| 133 | |
| 134 | void Buffer::get_pixel_info(std::stringstream& message, |
| 135 | const int x, |
nothing calls this directly
no test coverage detected