Removed useless GL calls #2068
This commit is contained in:
parent
ccf4329792
commit
a3f9ba8704
1 changed files with 0 additions and 2 deletions
|
@ -1495,7 +1495,6 @@ void rlDisableTexture(void)
|
||||||
void rlEnableTextureCubemap(unsigned int id)
|
void rlEnableTextureCubemap(unsigned int id)
|
||||||
{
|
{
|
||||||
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
|
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
|
||||||
glEnable(GL_TEXTURE_CUBE_MAP); // Core in OpenGL 1.4
|
|
||||||
glBindTexture(GL_TEXTURE_CUBE_MAP, id);
|
glBindTexture(GL_TEXTURE_CUBE_MAP, id);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -1504,7 +1503,6 @@ void rlEnableTextureCubemap(unsigned int id)
|
||||||
void rlDisableTextureCubemap(void)
|
void rlDisableTextureCubemap(void)
|
||||||
{
|
{
|
||||||
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
|
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
|
||||||
glDisable(GL_TEXTURE_CUBE_MAP);
|
|
||||||
glBindTexture(GL_TEXTURE_CUBE_MAP, 0);
|
glBindTexture(GL_TEXTURE_CUBE_MAP, 0);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue