Corrected typo

This commit is contained in:
Ray 2018-10-19 21:50:50 +02:00
parent 16914dfaa2
commit 1f4866276a

View file

@ -1510,7 +1510,7 @@ void rlDeleteRenderTextures(RenderTexture2D target)
if (target.depth.id > 0)
{
#if defined(GRAPHICS_API_OPENGL_ES2)
glDeleteRenderBuffers(1, &target.depth.id);
glDeleteRenderbuffers(1, &target.depth.id);
#elif defined(GRAPHICS_API_OPENGL_33)
glDeleteTextures(1, &target.depth.id);
#endif
@ -2263,7 +2263,7 @@ RenderTexture2D rlLoadRenderTexture(int width, int height)
if (target.depth.id > 0)
{
#if defined(GRAPHICS_API_OPENGL_ES2)
glDeleteRenderBuffers(1, &target.depth.id);
glDeleteRenderbuffers(1, &target.depth.id);
#elif defined(GRAPHICS_API_OPENGL_33)
glDeleteTextures(1, &target.depth.id);
#endif