mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-07 11:58:13 +00:00
Corrected typo
This commit is contained in:
@@ -1510,7 +1510,7 @@ void rlDeleteRenderTextures(RenderTexture2D target)
|
|||||||
if (target.depth.id > 0)
|
if (target.depth.id > 0)
|
||||||
{
|
{
|
||||||
#if defined(GRAPHICS_API_OPENGL_ES2)
|
#if defined(GRAPHICS_API_OPENGL_ES2)
|
||||||
glDeleteRenderBuffers(1, &target.depth.id);
|
glDeleteRenderbuffers(1, &target.depth.id);
|
||||||
#elif defined(GRAPHICS_API_OPENGL_33)
|
#elif defined(GRAPHICS_API_OPENGL_33)
|
||||||
glDeleteTextures(1, &target.depth.id);
|
glDeleteTextures(1, &target.depth.id);
|
||||||
#endif
|
#endif
|
||||||
@@ -2263,7 +2263,7 @@ RenderTexture2D rlLoadRenderTexture(int width, int height)
|
|||||||
if (target.depth.id > 0)
|
if (target.depth.id > 0)
|
||||||
{
|
{
|
||||||
#if defined(GRAPHICS_API_OPENGL_ES2)
|
#if defined(GRAPHICS_API_OPENGL_ES2)
|
||||||
glDeleteRenderBuffers(1, &target.depth.id);
|
glDeleteRenderbuffers(1, &target.depth.id);
|
||||||
#elif defined(GRAPHICS_API_OPENGL_33)
|
#elif defined(GRAPHICS_API_OPENGL_33)
|
||||||
glDeleteTextures(1, &target.depth.id);
|
glDeleteTextures(1, &target.depth.id);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user