This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
App freezes with no drawing to screen #746
Labels
Comments
It seems |
Resizing the window does trigger @jfirebaugh This doesn't seem right? |
Here is the zero resize offender: https://github.com/mapbox/mapbox-gl-native/blob/master/platform/default/glfw_view.cpp#L67 |
ljbade
pushed a commit
that referenced
this issue
Jan 12, 2015
@jfirebaugh oh did not see the dupe, lol |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When the app starts the window opens and nothing gets drawn. The apps seems to freeze.
I examined the back trace and it was sitting in the Map UV loop doing nothing.
A few debug prints that the first call to
asyncRender()
does not trigger arender()
which stops the rendering loop starting.The issue appears that the check at https://github.com/mapbox/mapbox-gl-native/blob/master/src/mbgl/map/map.cpp#L164:
if (state.hasSize())
which isfalse
The text was updated successfully, but these errors were encountered: