1
Graphics / Re: gl_TexCoord undeclared
« on: October 19, 2020, 03:56:11 am »
Just in case someone find this usefull, I don't remember the exactly problem of this, but one problem you can find is the the texture rect.
if you don't set any texture, SFML doesn't call setTextureRect, so has a value of {0,0,0,0}
m_Shape->setTextureRect(IntRect(0, 0, 1, 1));
if you don't set any texture, SFML doesn't call setTextureRect, so has a value of {0,0,0,0}