Original Post
Hello, I'm using opengl and load my textures with soil.
When I render my square, it makes a border to the texture.
Here the code of the soil's load:
thanks.
When I render my square, it makes a border to the texture.
Here the code of the soil's load:
textur[fNum] = SOIL_load_OGL_texture
(
(char*)fName.c_str(),
SOIL_LOAD_AUTO,
SOIL_CREATE_NEW_ID,
SOIL_FLAG_MIPMAPS | SOIL_FLAG_INVERT_Y
);
thanks.