Fix default texture modulation

This commit is contained in:
Luke Benstead 2020-05-19 21:27:34 +01:00
parent d6a22582f9
commit af82f7632f

View File

@ -345,7 +345,7 @@ static void _glInitializeTextureObject(TextureObject* txr, unsigned int id) {
txr->width = txr->height = 0; txr->width = txr->height = 0;
txr->mipmap = 0; txr->mipmap = 0;
txr->uv_clamp = 0; txr->uv_clamp = 0;
txr->env = PVR_TXRENV_MODULATE; txr->env = PVR_TXRENV_MODULATEALPHA;
txr->data = NULL; txr->data = NULL;
txr->mipmapCount = 0; txr->mipmapCount = 0;
txr->minFilter = GL_NEAREST; txr->minFilter = GL_NEAREST;