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.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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.