aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------depends/mglpp0
-rw-r--r--src/QuickMedia.cpp3
2 files changed, 3 insertions, 0 deletions
diff --git a/depends/mglpp b/depends/mglpp
-Subproject 1d4cc1d1c2c4f6a574775914078c80cf496fc7d
+Subproject aaf0b6edbbda67c2414b4736b82a00e6fe4025f
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 3ce881e..a3952e7 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -4234,6 +4234,9 @@ namespace QuickMedia {
captcha_solution.clear();
navigation_stage = NavigationStage::POSTING_COMMENT;
} else {
+ captcha_texture.clear();
+ captcha_bg_texture.clear();
+
bool failed = false;
mgl::Image image;
if(!image.load_from_memory((const unsigned char*)captcha_challenge.img_data.data(), captcha_challenge.img_data.size()) || !captcha_texture.load_from_image(image)) {