We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b90e7 commit 88f44d0Copy full SHA for 88f44d0
src/cputexturemanager.cpp
@@ -77,7 +77,7 @@ bool CpuTextureManager::addTexture(const Texture &texture)
77
78
// Read pixels
79
GLubyte *pixels = new GLubyte[width * height * 4]; // 4 channels (RGBA)
80
- glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
+ glF.glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
81
82
// Flip vertically
83
int rowSize = width * 4;
0 commit comments