metalangle icon indicating copy to clipboard operation
metalangle copied to clipboard

Getting "Framebuffer is incomplete" when trying to update to the latest version

Open Shchvova opened this issue 3 years ago • 1 comments

Hello! I was trying to update Solar2D to the latest version of MetalANGLE. But I am getting issues on the one of commits 1ce2a4ff587cd7d1dd0a6a6259fe78bb5d3bc95e.

When I revert edits in the commit, everything seems to work just fine. Reproducing the error is quite complicated, but straightforward.

git clone --recursive https://github.com/coronalabs/corona.git
cd corona/external/MetalANGLE
git fetch
git checkout Solar2D-Changes
git revert 1ce2a4ff587cd7d1dd0a6a6259fe78bb5d3bc95e --no-commit
open ../../platform/iphone/ratatouille.xcodeproj

This will produce the setup I have currently and revert the commit in question. Also open appropriate Xcode project. Auto create targets in it. To actually run you would need to put a test project, so you have corona/platform/test/assets2/main.lua. To that unpack the assets2.zip into corona/platform/test. When project is in place, run the template-angle target. Everything will work. But if you would to revert modified files in corona/external/MetalANGLE error would start to occur.

Thank you so much for making this amazing project. So happy to use and support it. Thanks!

EDIT: I separated my changes into separate branch and masters are now in sync. I changed the ticket accordingly.

Shchvova avatar Nov 17 '21 16:11 Shchvova

sure, I will take a look.

kakashidinho avatar Nov 18 '21 12:11 kakashidinho