aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-18 06:49:07 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-18 06:49:07 +0100
commitae5462ab104e968fe1ec2865957929e126b0d600 (patch)
tree55b2e7b6443b2fd28b232ba612ee67c48b3a9c6e /src
parent8765ee0f90be145ad73a6a912c8df6ebb16dd963 (diff)
Disable copy constructors for opengl resource items
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp2
1 files changed, 1 insertions, 1 deletions
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());