diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-18 06:49:07 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-18 06:49:07 +0100 |
commit | ae5462ab104e968fe1ec2865957929e126b0d600 (patch) | |
tree | 55b2e7b6443b2fd28b232ba612ee67c48b3a9c6e | |
parent | 8765ee0f90be145ad73a6a912c8df6ebb16dd963 (diff) |
Disable copy constructors for opengl resource items
m--------- | depends/mglpp | 0 | ||||
-rw-r--r-- | src/QuickMedia.cpp | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/depends/mglpp b/depends/mglpp -Subproject 3f8099b9b5c64e912a2ca227a9e3b2ce774f5ff +Subproject a2ac8b537a61fb7a7be1a3e08635ffc88e17d96 diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index a9eab08..0afd824 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -1040,7 +1040,7 @@ namespace QuickMedia { if(plugin_logo_name) plugin_logo_path = resources_root + "images/" + plugin_logo_name; - plugin_logo = mgl::Texture(); + plugin_logo.clear(); if(!plugin_logo_path.empty()) { if(!plugin_logo.load_from_file(plugin_logo_path.c_str())) fprintf(stderr, "Failed to load plugin logo, path: %s\n", plugin_logo_path.c_str()); |