the invalid operation was caused by compiz and was solved by dropping the immediate mode and switching to VBO.
the invalid operation was caused by compiz and was solved by dropping the immediate mode and switching to VBO.