Small tweak
This commit is contained in:
parent
19721c70ff
commit
c7ae28aaa2
1 changed files with 4 additions and 1 deletions
|
@ -1618,7 +1618,10 @@ unsigned int rlglLoadTexture(void *data, int width, int height, int textureForma
|
||||||
|
|
||||||
glGenTextures(1, &id); // Generate Pointer to the texture
|
glGenTextures(1, &id); // Generate Pointer to the texture
|
||||||
|
|
||||||
//glActiveTexture(GL_TEXTURE0);
|
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
|
||||||
|
//glActiveTexture(GL_TEXTURE0); // If not defined, using GL_TEXTURE0 by default (shader texture)
|
||||||
|
#endif
|
||||||
|
|
||||||
glBindTexture(GL_TEXTURE_2D, id);
|
glBindTexture(GL_TEXTURE_2D, id);
|
||||||
|
|
||||||
#if defined(GRAPHICS_API_OPENGL_33)
|
#if defined(GRAPHICS_API_OPENGL_33)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue