}
+void Texture::resetBind()
+{
+ glBindTexture(GL_TEXTURE_2D, 0);
+ TextureImpl::globalObject_ = 0;
+}
+
+
unsigned Texture::getWidth() const
{
// pass through
std::string Texture::getPathToResource(const std::string& name)
{
- // TODO named resources must be png for now
+ // TODO named texture resources must be png for now
return Resource::getPathToResource("textures/" + name + ".png");
}