boskee / Minecraft

Simple Minecraft-inspired program using Python and Pyglet
MIT License
207 stars 33 forks source link

Restore rasterized textures #25

Closed BertrandBordage closed 11 years ago

BertrandBordage commented 11 years ago

I don't understand how we lost rasterized textures. I know this effect is obtained using:

glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST)
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST)

but I don't understand why it worked before and why it has no effect today. I guess this is due to a structure modification, but didn't found which.

BertrandBordage commented 11 years ago

Fixed by 010c718d6166295a7407ef1517e9d78c23bbdc9e.