bug: handle commit empty buffer
Created by: acrisci
Before a QT client exits, it attaches a NULL buffer and then commits. This handles that situation by setting the texture to invalid after attaching then committing a NULL buffer.
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.
Created by: acrisci
Before a QT client exits, it attaches a NULL buffer and then commits. This handles that situation by setting the texture to invalid after attaching then committing a NULL buffer.