Fix missing texture-download error with OpenGL ES

(cherry picked from commit 57eaea571a)
This commit is contained in:
Leon Krause 2018-07-12 16:47:06 +02:00 committed by Rémi Verschelde
parent 61b6c9c348
commit 0da50fecbf
1 changed files with 1 additions and 1 deletions

View File

@ -909,7 +909,7 @@ Ref<Image> RasterizerStorageGLES3::texture_get_data(RID p_texture, VS::CubeMapSi
#else #else
ERR_EXPLAIN("Sorry, It's not possible to obtain images back in OpenGL ES"); ERR_EXPLAIN("Sorry, It's not possible to obtain images back in OpenGL ES");
return Ref<Image>(); ERR_FAIL_V(Ref<Image>());
#endif #endif
} }