You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Merge remote-tracking branch 'origin/gles3' into gles3-on-master
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
This commit is contained in:
@@ -69,8 +69,8 @@ void Particles2DEditorPlugin::_file_selected(const String& p_file) {
|
||||
ERR_EXPLAIN(TTR("Error loading image:")+" "+p_file);
|
||||
ERR_FAIL_COND(err!=OK);
|
||||
|
||||
img.convert(Image::FORMAT_GRAYSCALE_ALPHA);
|
||||
ERR_FAIL_COND(img.get_format()!=Image::FORMAT_GRAYSCALE_ALPHA);
|
||||
img.convert(Image::FORMAT_LA8);
|
||||
ERR_FAIL_COND(img.get_format()!=Image::FORMAT_LA8);
|
||||
Size2i s = Size2(img.get_width(),img.get_height());
|
||||
ERR_FAIL_COND(s.width==0 || s.height==0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user