summaryrefslogtreecommitdiffhomepage
path: root/examples/models
diff options
context:
space:
mode:
authorRay <[email protected]>2024-02-04 12:13:56 +0100
committerRay <[email protected]>2024-02-04 12:13:56 +0100
commit615ee9d177e53415996be026bcbd2977f88a1cc0 (patch)
treeefdc347d8e1b342b0df2880aba9b0583ba2a1ab7 /examples/models
parent80580746e52e9231f076c18b92a90e17895898c2 (diff)
downloadraylib-615ee9d177e53415996be026bcbd2977f88a1cc0.tar.gz
raylib-615ee9d177e53415996be026bcbd2977f88a1cc0.zip
REVIEWED: `rlLoadFramebuffer()`
Diffstat (limited to 'examples/models')
-rw-r--r--examples/models/models_skybox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_skybox.c b/examples/models/models_skybox.c
index 67d8de8c..1b8aad9a 100644
--- a/examples/models/models_skybox.c
+++ b/examples/models/models_skybox.c
@@ -194,7 +194,7 @@ static TextureCubemap GenTextureCubemap(Shader shader, Texture2D panorama, int s
unsigned int rbo = rlLoadTextureDepth(size, size, true);
cubemap.id = rlLoadTextureCubemap(0, size, format);
- unsigned int fbo = rlLoadFramebuffer(size, size);
+ unsigned int fbo = rlLoadFramebuffer();
rlFramebufferAttach(fbo, rbo, RL_ATTACHMENT_DEPTH, RL_ATTACHMENT_RENDERBUFFER, 0);
rlFramebufferAttach(fbo, cubemap.id, RL_ATTACHMENT_COLOR_CHANNEL0, RL_ATTACHMENT_CUBEMAP_POSITIVE_X, 0);