This commit is contained in:
parent
152a0b08b5
commit
b35617dd9a
23 changed files with 333 additions and 217 deletions
|
@ -193,6 +193,7 @@ int Status=FALSE;
|
|||
glTexImage2D(GL_TEXTURE_2D, 0, 3, TextureImage[0]->sizeX, TextureImage[0]->sizeY, 0, GL_RGB, GL_UNSIGNED_BYTE, TextureImage[0]->data);
|
||||
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR);
|
||||
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
}
|
||||
|
||||
if (TextureImage[0]) // If Texture Exists
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue