Backport of "gl/gbm: ensure we call the resize callback before attempting to draw" into 1.16
Backport of !484 (merged) "gl/gbm: ensure we call the resize callback before attempting to draw".
Commits:
- a32cd0e5 gl/gbm: ensure we call the resize callback before attempting to draw