summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gles3/rasterizer_storage_gles3.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp
index 945df35456..85ae69f8b8 100644
--- a/drivers/gles3/rasterizer_storage_gles3.cpp
+++ b/drivers/gles3/rasterizer_storage_gles3.cpp
@@ -5895,7 +5895,10 @@ void RasterizerStorageGLES3::update_particles() {
tex = resources.white_tex;
} break;
}
+ } else if (t->proxy && t->proxy->tex_id) {
+ target = t->proxy->target;
+ tex = t->proxy->tex_id;
} else {
target = t->target;