summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.c
diff options
context:
space:
mode:
authorRay San <[email protected]>2017-10-25 12:33:44 +0200
committerRay San <[email protected]>2017-10-25 12:33:44 +0200
commit31c8c86d8e9efabd44166540a1de06d7a39d34b2 (patch)
treec1b19953c19ec32e5ba7ed2f75e41685c4432080 /src/rlgl.c
parent9b24554698d97b69b0860cd60c0a1b2b88cc3b4d (diff)
downloadraylib-31c8c86d8e9efabd44166540a1de06d7a39d34b2.tar.gz
raylib-31c8c86d8e9efabd44166540a1de06d7a39d34b2.zip
Comment tweak...
...while reviewing GetTextureData() functionality on OpenGL ES 2.0
Diffstat (limited to 'src/rlgl.c')
-rw-r--r--src/rlgl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index 9e563ced..6f82a84c 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -2202,7 +2202,7 @@ void *rlReadTexturePixels(Texture2D texture)
glBindFramebuffer(GL_FRAMEBUFFER, fbo.id);
glBindTexture(GL_TEXTURE_2D, 0);
- // Attach our texture to FBO -> Texture must be RGB
+ // Attach our texture to FBO -> Texture must be RGBA
// NOTE: Previoust attached texture is automatically detached
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture.id, 0);