Fix missing texture-download error with OpenGL ES
(cherry picked from commit 57eaea571a
)
This commit is contained in:
parent
61b6c9c348
commit
0da50fecbf
|
@ -909,7 +909,7 @@ Ref<Image> RasterizerStorageGLES3::texture_get_data(RID p_texture, VS::CubeMapSi
|
|||
#else
|
||||
|
||||
ERR_EXPLAIN("Sorry, It's not possible to obtain images back in OpenGL ES");
|
||||
return Ref<Image>();
|
||||
ERR_FAIL_V(Ref<Image>());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue