ADDED: rlLoadTextureDepth()

REDESIGNED: rlLoadRenderTexture()
ADDED: rlRenderTextureAttach()
ADDED: rlRenderTextureComplete()
This commit is contained in:
Ray
2019-02-04 16:28:17 +01:00
parent fce48e85f4
commit db56d432e4
3 changed files with 145 additions and 98 deletions

View File

@ -486,7 +486,7 @@ TextureCubemap LoadTextureCubemap(Image image, int layoutType)
// NOTE: Render texture is loaded by default with RGBA color attachment and depth RenderBuffer
RenderTexture2D LoadRenderTexture(int width, int height)
{
RenderTexture2D target = rlLoadRenderTexture(width, height);
RenderTexture2D target = rlLoadRenderTexture(width, height, UNCOMPRESSED_R8G8B8A8, 24, false);
return target;
}