This commit is contained in:
korenkonder
2024-06-22 17:53:47 +03:00
parent cd800cfba8
commit 82ea00ea1c
6 changed files with 157 additions and 58 deletions
+2
View File
@@ -401,6 +401,7 @@ sprite_width(), sprite_height(), screen_x_offset(), screen_y_offset(), screen_wi
glGenVertexArrays(1, &common_vao);
camera_blur_ubo.Create(sizeof(camera_blur_shader_data));
contour_coef_ubo.Create(sizeof(contour_coef_shader_data));
contour_params_ubo.Create(sizeof(contour_params_shader_data));
filter_scene_ubo.Create(sizeof(filter_scene_shader_data));
@@ -569,6 +570,7 @@ render_context::~render_context() {
filter_scene_ubo.Destroy();
contour_params_ubo.Destroy();
contour_coef_ubo.Destroy();
camera_blur_ubo.Destroy();
if (common_vao) {
glDeleteVertexArrays(1, &common_vao);