|
|
@ -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(n">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); |
|
|
|
|
|
|
|