mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-27 13:38:30 +00:00
Code tweak
This commit is contained in:
@@ -2212,7 +2212,6 @@ void *rlReadTexturePixels(Texture2D texture)
|
||||
// 2 - Create an fbo, activate it, render quad with texture, glReadPixels()
|
||||
|
||||
#define GET_TEXTURE_FBO_OPTION_1 // It works
|
||||
|
||||
#if defined(GET_TEXTURE_FBO_OPTION_1)
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, fbo.id);
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
|
Reference in New Issue
Block a user