This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好:
我需要屏幕截图、
因此我使用 glReadPixels 读取屏幕像素,但不需要读取任何内容,glGetError()返回 GL_INVALID_OPERATION,
TDA4不支持吗?
顺便说一下、同样的用例、在窗口上也是可以的。
----------------------------------------------------------------
GlReadPixels (0、580、100、100、GL_RGB、 gL_unsigned_byte、_pTexture);
您好!
您可以尝试 GL_RGBA 而不是 GL_RGB 吗?
此致
Hemant