fixed context and texture