lanice / elemate

A sandbox game.
8 stars 0 forks source link

Texture manager 125 #126

Closed kateyy closed 10 years ago

kateyy commented 10 years ago

This add a texture (unit) manager that keeps track of the texture units used in the program. Currently, all textures are always bound (->bindActive(...) after creating the texture). This works for now, as we have ~21 textures, my mobile AMD supports 32.