render: Don't try to render a surface with no texture
A surface may not have a buffer attached. Not checking was leading to crashes; an easy reproducer is to launch a video to play in Totem.
Edited by Guido Günther
A surface may not have a buffer attached. Not checking was leading to crashes; an easy reproducer is to launch a video to play in Totem.